Compatibility Patch
Hi everyone. This time i have a little patch for urls with white spaces, it converts them to correct characters (%20), it works well, just download the nav.diff.gz from my site and copy it to dillo/src directory: $ gunzip nav.diff.gz $ patch nav.c nav.diff Answare yes to the question that patchs mades to you. My Web: http://earth.prohosting.com/wbuffer Cheers Carlos Daniel Ruvalcaba
Hi,
This time i have a little patch for urls with white spaces, it converts them to correct characters (%20), it works well, just download the nav.diff.gz from my site and copy it to dillo/src directory:
I would say we should appreciate the effort, but this issue came up before - long time ago, so you can't know about it. But read, e.g. these threads : http://sourceforge.net/mailarchive/message.php?msg_id=1148257 http://sourceforge.net/mailarchive/message.php?msg_id=1167938 However, I would like to raise an issue here : I agree to stick to correct HTML. But isn't it worth only if the offending webmaster notices that his page is broken, instead of the surfer noticing it ? Or - actually, the user may not even know, why exactly the link is not working. I agree, that there are more important things to do than making nice looking popus that say "Dear user, the web page you are visiting is broken because of ..." so that the user can complain to the webmaster. But for the long run this could be considered. And only as long as dillo can easily detect errors, of course. In this case, would it make sense to adjust the Browser ID to include a messgage along the lines of : "Webmaster, you have a malformed URL in a page of yours." ? Just some thoughts, which probably won't make it before dillo is much more mature. Cheers Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
I say chaps do have a look at www.godulike.co.uk and click on the "Forums" link. I am getting the reply "Bad Request" "Your browser sent a request that this server could not understand." "Invalid URI in request GET /../phpBB2 HTTP/1.0" Apache/1.3.29 Server at www.godulike.co.uk Port 80 Galeon and Konqueror work fine. Lynx works too but stops to ask if I will allow a cookie. Hope your getting on fine Best Wishes Maurice (certified user/non-programmer) PS My last cvs build was 6th Dec.
On Thu, Jan 15, 2004 at 10:26:38AM +0000, Maurice McCarthy wrote:
I say chaps do have a look at www.godulike.co.uk and click on the "Forums" link.
I am getting the reply
"Bad Request" "Your browser sent a request that this server could not understand." "Invalid URI in request GET /../phpBB2 HTTP/1.0" Apache/1.3.29 Server at www.godulike.co.uk Port 80
Galeon and Konqueror work fine. Lynx works too but stops to ask if I will allow a cookie.
The base URL is http://www.godulike.co.uk/ The relative URL is ../phpBB2 Unless I misread rfc 1808, section 5 (specifically, section 5.2, "Abnormal Examples"), the correct way to put those together results in http://www.godulike.co.uk/../phpBB2 which is what dillo does, and what the others (presumably) don't do. In that case, the site author is wrong for creating a bad url; and the web server could, if it were so inclined, handle the request by issuing a redirect to the apparently-intended http://www.godulike.co.uk/phpBB2 -- but that would be fixing the site author's error. Looks to me as if Galeon, Konqueror, and Lynx are wrong (per RFC) and more usable in this particular case, but they will possibly fail to access <URL:http://www.example.com/../haha> altogether. Quick fix for the user? Type in the url by hand. f -- Francis Daly francis@daoine.org
On Thu, Jan 15, 2004 at 11:45:48AM +0000, Francis Daly wrote:
On Thu, Jan 15, 2004 at 10:26:38AM +0000, Maurice McCarthy wrote:
I say chaps do have a look at www.godulike.co.uk and click on the "Forums" link.
I am getting the reply
"Bad Request" "Your browser sent a request that this server could not understand." "Invalid URI in request GET /../phpBB2 HTTP/1.0" Apache/1.3.29 Server at www.godulike.co.uk Port 80
Galeon and Konqueror work fine. Lynx works too but stops to ask if I will allow a cookie.
The base URL is http://www.godulike.co.uk/
The relative URL is ../phpBB2
Unless I misread rfc 1808, section 5 (specifically, section 5.2, "Abnormal Examples"), the correct way to put those together results in
But if I remember correctly, Browser are allowed to do URI normalisation, which would strip that part and is done by the other browsers. Joerg
On Thu, 15 Jan 2004, Joerg Sonnenberger wrote:
[...] The base URL is http://www.godulike.co.uk/
The relative URL is ../phpBB2
Unless I misread rfc 1808, section 5 (specifically, section 5.2, "Abnormal Examples"), the correct way to put those together results in
But if I remember correctly, Browser are allowed to do URI normalisation, which would strip that part and is done by the other browsers.
FWIW the current RFC is 2396. It has a good explanation under section C.2. "Abnormal Examples". Dillo follows the interpretation of Tim Berners-Lee (because it has extra semantics for hierarchical namespaces). Cheers Jorge.-
participants (6)
-
Andreas Schweitzer
-
Carlos Daniel Ruvalcaba Valenzuela
-
Francis Daly
-
Joerg Sonnenberger
-
Jorge Arellano Cid
-
Maurice McCarthy