-
-
Notifications
You must be signed in to change notification settings - Fork 100
Question mark in article title caused broser to report "The page isn’t redirecting properly" #589
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
Question mark in article title caused broser to report "The page isn’t redirecting properly" #589
Comments
Some testing of my own: Digging through the issues give me some insight of how the problem may be, so I replaced the question mark in the url with But then I don't understand, how did kiwix-serve suggested me a link that my browser can't load (I had to replace ? with |
I suspect that this issue boils down to the same root cause as in #587. It should be present in latest release (3.4.0) of kiwix-tools, too, but may be fixed by kiwix/libkiwix#859. |
@DarkmatterUAE Could you please check if the bug is still there with latest nightly? https://download.kiwix.org/nightly/ |
No it isn't, the web interface changed a bit (probably due to version change) but I'm still getting the "page isn’t redirecting properly" error.
|
Well, I believe that kiwix/libkiwix#860 will fix this issue once it is merged. |
Great, so lets wait and see that the PR is merged and a new nightly available for testing. |
Nightly version
|
@DarkmatterUAE It's not expected! |
I found a ZIM file containing an article with a question mark in its name on my side and reproduced the issue (which I lazily, stupidly and complacently hadn't done when writing my earlier comment #589 (comment)). This time we deal with a set of bugs hiding deeper in the C++ code and addressed by kiwix/libkiwix#775. There is a quick workaround for suggestions, but a similar issue for search results will persist (which needs to be fixed in C++). |
So it turns out that at the time of reporting this ticket was resting on a stack of several bugs. The remaining issue (I hope so) was already mentioned in my previous comment - it's kiwix/libkiwix#775. The reason why my last quick workaround didn't fully solve the issue is because of an extra redirection involved in this case:
|
@veloman-yunkan So we should close this ticket as duplicate of kiwix/libkiwix#775? When this last ticket will be fixed/implemented, then the buggy behaviour reported here will vanish? |
@kelson42 The buggy behaviour reported here should be eliminated by a rather small PR kiwix/libkiwix#866 though similar issues could be observed until kiwix/libkiwix#775 is fully fixed. |
@veloman-yunkan Thank you for the fix and we shoukd focus now to fix kiwix/libkiwix#775. |
Accessing wikipedia page "Quo Vadis?" in the suggestion (during search) resulted in Firefox reporting:
Reloading the page with dev tools opened resulted in a massive influx of accesses which received 302 but no actual responce body.
https://upload.cc/i1/2022/12/16/rjJ9Vs.png
Each time I did the testing kiwix-serve (-v) logs 21 repetition of these:
Tested on binaries distributed via download.kiwix.org and through alpine linux software repository:
download.kiwix.org version:
alpine linux version:
The text was updated successfully, but these errors were encountered: