Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appendMissingSlash redirects without query strings #651

Open
Shentao83 opened this issue Nov 2, 2018 · 1 comment
Open

appendMissingSlash redirects without query strings #651

Shentao83 opened this issue Nov 2, 2018 · 1 comment

Comments

@Shentao83
Copy link

If I set 'appendMissingSlash' => 'ifNotFile,redirect', the query strings will be stripped off the redirection.

For example:

https://www.domain.com/de?test=test will be redirected to https://www.domain.com/de/

Is there any way to tell RealURL to reapply these query strings after redirection?

@dmitryd
Copy link
Owner

dmitryd commented Apr 25, 2020

Not confirmed:

$ curl -I https://extensions87.ddev.site/home?a=1
HTTP/1.1 301 TYPO3 RealURL redirect
Server: nginx/1.17.0
Date: Sat, 25 Apr 2020 13:03:19 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
X-TYPO3-RealURL-Info: redirect for missing slash
Location: https://extensions87.ddev.site/home/?a=1

Please, try with the recent realurl version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants