Summary: | Facebook gives "The page you requested was not found" error due to malformed URL | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Henry de Valence <hdevalence> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | katrina.niolet, kieran.hogg, lepetitdragonbleu, m.wege, mboquien, vdboor, zahl |
Priority: | NOR | ||
Version: | 4.1.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Henry de Valence
2008-10-18 17:29:38 UTC
Any idea on when exactly that happens? In my case it happens almost systematically when browsing a gallery. The first pic is fine. Then i click on next. Then i get the aforementioned problem. I know that it happens when one chooses "Friends" from the top menu and then picks "Everyone" from the Showing: list on that page; there are probably more times though. I can confirm this bug. For me it happens when I click on (starting point is the news feed): http://www.facebook.com/home.php?tab=2 (which is the live feed) the next step then is this http://www.facebook.com/home.php?ref=logo#/home.php%3Ftab=2 after this I get this error message. So the problem must be this "%3F" which may be the wrong translation for the url. I confirm that the bug is related to %3F in the URL. Replace manually "%3F" by "?" and it works ... UA-fakeing as mozilla should prevent the problem.. Does this mean this is not a bug of Konqueror or is this just a work around. If this is a bug of facebook: Does anyone know how to report this "upstream"? The workaround may be something for userbase. Many people use facebook. It's impossible to tell w/o debugging it, and my last attempt at doing that failed since facebook has a huge amount of JS code ... and trying to figure out what goes wrong in a codebase one isn't familiar with is very hard. (though at least it's not obfuscated, that makes it much easier) Hm, using Konq. 4.2.64 (KDE 4.2.64 (KDE 4.3 >= 20090218)) I no longer get the bug when I do the steps in comment #3. Not sure if that is of any use. It might be good to add it to userbase anyways, just in case someone has a problem. UA-fakeing as mozilla does not solve the pb for me ... I encounter this mostly while browsing a gallery, however this happened today when I clicked on the Information tab on my profile also. I am using KDE 4.2.1 on both opensuse and kubuntu (but this problem has been around since KDE 4.0 I believe, I don't think I ever encountered this in KDE3) Re: comment #6 On the contrary I have found that faking as Firefox 3 does not change the issue. *** Bug 187857 has been marked as a duplicate of this bug. *** SadEagle proposed this one liner which should fix the issue. Not committed yet, may need more investigation/ACK from DF. Index: io/kurl.cpp =================================================================== --- io/kurl.cpp (revision 931238) +++ io/kurl.cpp (working copy) @@ -1062,7 +1062,7 @@ if (hasFragment()) { result += QLatin1Char('#'); - result += toPrettyPercentEncoding(fragment()); + result += fragment(); //toPrettyPercentEncoding(fragment()); } return result; SVN commit 943285 by dfaure: Backport fix for 173101: do not escape '?' in fragments. Please test if this fixes the facebook issue completely. CCBUG: 173101 M +6 -4 io/kurl.cpp M +14 -0 tests/kurltest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=943285 Hi, I have not encountered the problem in months. I guess it can be closed. Fix seems to be correct, there has no been new bug reports of this issue. |