Readthedocs.org: How to enable query parameters in redirects?

Created on 17 Apr 2020  路  4Comments  路  Source: readthedocs/readthedocs.org

I don't really understand how any of this works under the covers, but since #5081 has been merged this should be supported, right?

For example, I have set the default version of my project to 0.6.0, so it correctly redirects https://nbsphinx.readthedocs.io/ to https://nbsphinx.readthedocs.io/en/0.6.0/.

However, when I use the search URL with a query parameter, the parameter is somehow lost in redirection:

Expected Result

https://nbsphinx.readthedocs.io/search.html?q=readthedocs should get redirected to https://nbsphinx.readthedocs.io/en/0.6.0/search.html?q=readthedocs

Actual Result

https://nbsphinx.readthedocs.io/search.html?q=readthedocs gets redirected to https://nbsphinx.readthedocs.io/en/0.6.0/search.html

Bug

All 4 comments

This looks like a regression from our new proxy server

@mgeier What is the redirect that you have configured on your project for this case?

We figured out the issue, and should have a patch deployed next week.

This is out now, you may still see https://nbsphinx.readthedocs.io/search.html?q=readthedocs not redirecting properly bc of your browser cache. Other works https://nbsphinx.readthedocs.io/search.html?q=testing

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lennartkoopmann picture lennartkoopmann  路  4Comments

humitos picture humitos  路  3Comments

pllim picture pllim  路  3Comments

davidfischer picture davidfischer  路  4Comments

gtalarico picture gtalarico  路  4Comments