You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I go to https://mypage.com/imprint everything works find and it shows me the Imprint page.
But if I want to go to https://mypage.com/imprint/ (extra slash at the end) it redirects me to home, i.e. / again, but not to /imprint where I would expect it to go to.
If I got to https://mypage.com/something it correctly shows me the 404 page.
But if I go to https://mypage.com/something/ (extra slash at the end) it redirect me to home, although something is not a valid route and it should show the 404 page again!
* wip
* add example
having some trouble figuring out how to design the effect dependency
flow such that things aren't being triggered at unnecessary times
* yay it's working
* update README
* typo
* only use Suspense if the child to be rendered is React.lazy
Otherwise ReactDOMServer freaks out
* update tests & add one for useContext hook
* add react-is to rollup settings, remove unused babel transform
* unfocus test
* update readme
* ignore trailing slashes
fixes#9
* v2.0.0-alpha.0
* react-is -> ReactIs
* v2.0.0-alpha.1
* new sandboxes for v2
2 issues:
Given the below routes structure:
If I go to
https://mypage.com/imprint
everything works find and it shows me theImprint
page.But if I want to go to
https://mypage.com/imprint/
(extra slash at the end) it redirects me to home, i.e./
again, but not to/imprint
where I would expect it to go to.If I got to
https://mypage.com/something
it correctly shows me the 404 page.But if I go to
https://mypage.com/something/
(extra slash at the end) it redirect me to home, althoughsomething
is not a valid route and it should show the 404 page again!My routes look as follows:
I think it has to do with URL Normalization to deal with trailing slashes.
The text was updated successfully, but these errors were encountered: