Files
draletaha/DrSousan.Api/Pages/Blog
soroush.asadi 5a1f1a8ccb
CI/CD / CI · dotnet build (push) Successful in 45s
CI/CD / Deploy · drsousan (push) Successful in 25s
fix(seo): proper 500 handler + safe JSON-LD escaping
Add UseExceptionHandler(/error) so unhandled exceptions return a
proper HTML 500 instead of a raw response Googlebot was logging as
a server error in Search Console.

Replace manual quote-only escaping in blog JSON-LD with a J() helper
that uses JsonSerializer so newlines, backslashes, and all other
control characters are safely escaped.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 09:01:45 +03:30
..
2026-05-31 00:42:08 +03:30