1

My application is using a server-side API that redirects users to an Angular URL in this form:

https://www.myapp.com/#/app?someKey=value1&someKey2=value2

When I test on Chrome, Firefox, and IE, everything works well. When I test on Safari, the browser ignores everything after the # and redirects to this instead:

https://www.myapp.com/

... as if it was ignoring the hashbang. I played around with encoding the hashtag to %23, but Safari then complains 404 (as expected, since myapp.com/%23/app isn't really a directory on my web server).

I've googled around and the closest issue I've found was this: Url parameters work on Chrome, Firefox but not on Safari

And no other reports. Due to the lack of actual reports, I'm going to assume this is either an unknown Safari bug, or I'm doing something wrong.

Could anyone advise?

Community
  • 1
  • 1

1 Answers1

1

Non-issue. The issue was the server was redirected to http://, and the web server was automatically redirecting it to https://, thus losing all of the URL parameters. The weird thing is this only happens on Safari, but that's a separate issue altogether.