How to avoid error 404 on refresh with angular app on IIS that contains special characters like “%2”
I have an Angular App (V17), hosted on IIS.
I have a route https://mysite/myapp/b%2fBP1SQsgyE%3D
I can reach it the first time but I can’t refresh. The server respond with 404.
The issue comes from the special character %2f
that is interpreted as a /
, so instead of reaching “myapp” with the encrypted param, it tries to go to “myapp/b/2Bp……”.