divan/GanjooRazor
Ehsan Mohandesi e7fbc6559d Fix 500 on failed login by encoding the redirect parameters
After a rejected login the site redirects back to /login carrying the API's
error message in the query string. That message is Persian, and HTTP header
values must be ASCII, so Kestrel threw InvalidOperationException and the user
got an error page instead of the login form with the reason for the failure.
Encode both the path and the message.

Not noticed before because IIS Express tolerates the non-ASCII Location header;
it surfaces as soon as the site is run on Kestrel.
2026-09-13 22:16:28 -05:00
..
.config docs: #292 db migration and some other changes and fixes 2022-03-09 20:19:44 +03:30
Areas moderation new option 2026-09-13 13:39:48 +03:30
Models warning fix 2026-07-19 16:50:15 +03:30
Pages Fix 500 on failed login by encoding the redirect parameters 2026-09-13 22:16:28 -05:00
Properties .net 10 publish profiles 2026-07-10 15:56:40 +03:30
Utils caching fixes 2026-09-13 14:56:55 +03:30
wwwroot recitation icons fix 2026-09-12 12:23:36 +03:30
APIRoot.cs semantic search 2026-09-10 13:03:20 +03:30
appsettings.Development.json moving caching poets to service level 2021-05-16 10:15:28 +04:30
appsettings.json caching improvements 2026-09-12 15:05:43 +03:30
GanjooRazor.csproj upgrading to .net 10 2026-07-05 21:14:32 +03:30
Program.cs #112 copying GanjoorService settings to GanjooRazor 2021-05-09 19:34:22 +04:30
Startup.cs caching improvements 2026-09-12 15:05:43 +03:30