Version: (using KDE 4.1.2) OS: Linux Installed from: SuSE RPMs Sometimes when browsing in Facebook, when one clicks on one of their links, one sees a message that says "The page you requested was not found. You may have clicked an expired link or mistyped the address. Some web addresses are case sensitive.". When I look at the URL, it will be something like: http://www.new.facebook.com/friends/%3Fid=000000000&flid=0&view=everyone&q=&nt=0&nk=0&s=0&st=0 [note: I omitted the id value, it's normally a 9-digit number] If I manually change the URL to remove the %3F and replace with a ?, like so: http://www.new.facebook.com/friends/?id=000000000&flid=0&view=everyone&q=&nt=0&nk=0&s=0&st=0 I don't get the error page & I see the page I'm looking for.
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.