PierreZ / goStatic

A really small static web server for Docker
GNU General Public License v2.0
391 stars 77 forks source link

Forwarding to fallback with URL encoded string #18

Open subotic opened 5 years ago

subotic commented 5 years ago

There seems to be an issue when running a SPA application when an URL encoded string is part of the URL.

Calling this: https://beol-test.dasch.swiss/letter/http:%2F%2Frdfh.ch%2F0801%2FNpZsD3aWQB2buNCjqRTcVw

results in this: https://beol-test.dasch.swiss/letter/http:/rdfh.ch/0801/NpZsD3aWQB2buNCjqRTcVw

which then of course fails.

The expected behavior would be to still have the originally called URL.

The links are live, so you can test by clicking on them.