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
So object UrlScript contains invalid URL and I can open URL https://nette.org, https://nette.org/ and https://nette.org///// too without canonical redirect.
Steps To Reproduce
Open https://nette.org///// for example:
Activity
JanTvrdik commentedon Feb 12, 2020
There's a built-in path filter in
Nette\Http\RequestFactorywhich replaces sequence of/with a single/. See https://github.com/nette/http/blob/v3.0.3/src/Http/RequestFactory.php#L28janbarasek commentedon Feb 12, 2020
Yes, of course, but I think this is a natural duplication that should be redirected.
janbarasek commentedon Feb 23, 2020
@dg How can I solve this issue? This bug makes a number of duplicate pages and damages SEO.
I think firstly I must fix
Urlentity which should support sequence of/in case of homepage or ending with it.Thanks.
dg commentedon Feb 6, 2021
This is related to nette/http, I know about it and it will be addressed in version 4.0.
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]
Route: ignores multiple /// [Closes #6]