Home |
Search |
Today's Posts |
![]() |
|
London Transport (uk.transport.london) Discussion of all forms of transport in London. |
Reply |
|
LinkBack | Thread Tools | Display Modes |
#11
![]() |
|||
|
|||
![]()
Nick Leverton wrote on 28 May 2014 14:03:32 ...
In article , Roland Perry wrote: In message , at 12:03:35 on Wed, 28 May 2014, Recliner remarked: http://s3-ec.buzzfed.com/static/2014...23/7/anigif_en hanced-buzz-29870-1400843366-8.gif Interesting variation in the results from different browsers. Internet Explorer (IE9) runs through the animation in 5 seconds. Chrome does it in about 1½ seconds. Firefox won't show it at all; it gives a code 403 error (access denied). That's because the line with the URL was folded and you ended up with the wrong link. The url wasn't folded, and it that's the explanation how did it get displayed in IE and Chrome? Afraid it was, Roland. Character 0x0317: 000002c0 75 74 20 63 6f 6d 6d 75 74 69 6e 67 3a 0a 0a 3c |ut commuting:..| 000002d0 68 74 74 70 3a 2f 2f 73 33 2d 65 63 2e 62 75 7a |http://s3-ec.buz| 000002e0 7a 66 65 64 2e 63 6f 6d 2f 73 74 61 74 69 63 2f |zfed.com/static/| 000002f0 32 30 31 34 2d 30 35 2f 65 6e 68 61 6e 63 65 64 |2014-05/enhanced| 00000300 2f 77 65 62 64 72 30 33 2f 32 33 2f 37 2f 61 6e |/webdr03/23/7/an| 00000310 69 67 69 66 5f 65 6e 0a 68 61 6e 63 65 64 2d 62 |igif_en.hanced-b| 00000320 75 7a 7a 2d 32 39 38 37 30 2d 31 34 30 30 38 34 |uzz-29870-140084| 00000330 33 33 36 36 2d 38 2e 67 69 66 3e 0a 2d 2d 20 0a |3366-8.gif.-- .| 00000340 52 6f 6c 61 6e 64 20 50 65 72 72 79 0a |Roland Perry.| Browser treatment of a split URL seems to vary, even (in at least one browser I have) between different methods of invoking the URL. The link was folded in Thunderbird, with only the first half formatted as a link. I had therefore selected and copied the whole link and pasted it into the Firefox address bar. I have been used to doing that when using IE and it always works, but I see that Firefox 29.0.1 (which has recently become my default browser) preserves the "line feed" as a space. I assume that those who had no problem with Firefox were using a newsreader that doesn't fold a long link. -- Richard J. (to email me, swap 'uk' and 'yon' in address) |
#12
![]() |
|||
|
|||
![]()
In message
, at 07:11:00 on Wed, 28 May 2014, Recliner remarked: The url wasn't folded, and it that's the explanation how did it get displayed in IE and Chrome? Look carefully, and I bet you spot a space in it. White space is specifically allowed in urls; doubly so if enclosed in delimiters. Maybe IE and Chrome auto join the strings? No, *if* the url is going to be split, it'll be by the client from which you are cutting, not the browser into which you are pasting. -- Roland Perry |
#13
![]() |
|||
|
|||
![]()
In message , at 13:03:32 on Wed, 28 May 2014,
Nick Leverton remarked: The url wasn't folded, and it that's the explanation how did it get displayed in IE and Chrome? Afraid it was, Roland. Character 0x0317: 000002c0 75 74 20 63 6f 6d 6d 75 74 69 6e 67 3a 0a 0a 3c |ut commuting:..| 000002d0 68 74 74 70 3a 2f 2f 73 33 2d 65 63 2e 62 75 7a |http://s3-ec.buz| 000002e0 7a 66 65 64 2e 63 6f 6d 2f 73 74 61 74 69 63 2f |zfed.com/static/| 000002f0 32 30 31 34 2d 30 35 2f 65 6e 68 61 6e 63 65 64 |2014-05/enhanced| 00000300 2f 77 65 62 64 72 30 33 2f 32 33 2f 37 2f 61 6e |/webdr03/23/7/an| 00000310 69 67 69 66 5f 65 6e 0a 68 61 6e 63 65 64 2d 62 |igif_en.hanced-b| 00000320 75 7a 7a 2d 32 39 38 37 30 2d 31 34 30 30 38 34 |uzz-29870-140084| 00000330 33 33 36 36 2d 38 2e 67 69 66 3e 0a 2d 2d 20 0a |3366-8.gif.-- .| 00000340 52 6f 6c 61 6e 64 20 50 65 72 72 79 0a |Roland Perry.| That's white space, which is allowed in urls; particularly if enclosed in delimiters. -- Roland Perry |
#14
![]() |
|||
|
|||
![]()
Roland Perry wrote:
In message , at 07:11:00 on Wed, 28 May 2014, Recliner remarked: The url wasn't folded, and it that's the explanation how did it get displayed in IE and Chrome? Look carefully, and I bet you spot a space in it. White space is specifically allowed in urls; doubly so if enclosed in delimiters. News to me, and to my newsreader. |
#15
![]() |
|||
|
|||
![]()
In message
, at 14:17:45 on Wed, 28 May 2014, Recliner remarked: White space is specifically allowed in urls; doubly so if enclosed in delimiters. News to me, and to my newsreader. True nevertheless. -- Roland Perry |
#16
![]() |
|||
|
|||
![]()
Roland Perry wrote:
In message , at 14:17:45 on Wed, 28 May 2014, Recliner remarked: White space is specifically allowed in urls; doubly so if enclosed in delimiters. News to me, and to my newsreader. True nevertheless. Only if encoded as %20 or +. I don't think an actual space is allowed. |
#17
![]() |
|||
|
|||
![]()
On Wed, 28 May 2014 19:26:00 +0100, Roland Perry
wrote: In message , at 13:03:32 on Wed, 28 May 2014, Nick Leverton remarked: The url wasn't folded, and it that's the explanation how did it get displayed in IE and Chrome? Afraid it was, Roland. Character 0x0317: 000002c0 75 74 20 63 6f 6d 6d 75 74 69 6e 67 3a 0a 0a 3c |ut commuting:..| 000002d0 68 74 74 70 3a 2f 2f 73 33 2d 65 63 2e 62 75 7a |http://s3-ec.buz| 000002e0 7a 66 65 64 2e 63 6f 6d 2f 73 74 61 74 69 63 2f |zfed.com/static/| 000002f0 32 30 31 34 2d 30 35 2f 65 6e 68 61 6e 63 65 64 |2014-05/enhanced| 00000300 2f 77 65 62 64 72 30 33 2f 32 33 2f 37 2f 61 6e |/webdr03/23/7/an| 00000310 69 67 69 66 5f 65 6e 0a 68 61 6e 63 65 64 2d 62 |igif_en.hanced-b| 00000320 75 7a 7a 2d 32 39 38 37 30 2d 31 34 30 30 38 34 |uzz-29870-140084| 00000330 33 33 36 36 2d 38 2e 67 69 66 3e 0a 2d 2d 20 0a |3366-8.gif.-- .| 00000340 52 6f 6c 61 6e 64 20 50 65 72 72 79 0a |Roland Perry.| That's white space, which is allowed in urls; particularly if enclosed in delimiters. If you look at RFC 3986 Appendix A [1], you will see that "space" is simply not mentioned anywhere in the grammar for defining a URL. Since it's not mentioned anywhere in the grammar, the only way to encode a space is with percent-encoding (%20). [1] http://www.ietf.org/rfc/rfc3986.txt -- jhk |
#18
![]() |
|||
|
|||
![]()
In message
, at 15:56:26 on Wed, 28 May 2014, Recliner remarked: White space is specifically allowed in urls; doubly so if enclosed in delimiters. News to me, and to my newsreader. True nevertheless. Only if encoded as %20 or +. I don't think an actual space is allowed. rfc3986: In some cases, extra whitespace (spaces, line-breaks, tabs, etc.) may have to be added to break a long URI across lines. The whitespace should be ignored when the URI is extracted. ... Using angle brackets around each URI is especially recommended as a delimiting style for a reference that contains embedded whitespace. So whitespace is allowed in *text* representations, such as usenet postings. *After* the url has been extracted from the text, *then* the spaces should be encoded (before being passed to the browser). -- Roland Perry |
#19
![]() |
|||
|
|||
![]()
In message , at 00:23:02 on
Thu, 29 May 2014, Jarle Hammen Knudsen remarked: If you look at RFC 3986 Appendix A [1], you will see that "space" is simply not mentioned anywhere in the grammar for defining a URL. Since it's not mentioned anywhere in the grammar, the only way to encode a space is with percent-encoding (%20). [1] http://www.ietf.org/rfc/rfc3986.txt See the comment I made to recliner. The confusion in your mind is between the textual representation of a url in a medium like usenet, and the format of the url after it's been extracted from the usenet posting. -- Roland Perry |
#20
![]() |
|||
|
|||
![]()
Roland Perry wrote:
In message , at 15:56:26 on Wed, 28 May 2014, Recliner remarked: White space is specifically allowed in urls; doubly so if enclosed in delimiters. News to me, and to my newsreader. True nevertheless. Only if encoded as %20 or +. I don't think an actual space is allowed. rfc3986: In some cases, extra whitespace (spaces, line-breaks, tabs, etc.) may have to be added to break a long URI across lines. The whitespace should be ignored when the URI is extracted. ... Using angle brackets around each URI is especially recommended as a delimiting style for a reference that contains embedded whitespace. So whitespace is allowed in *text* representations, such as usenet postings. *After* the url has been extracted from the text, *then* the spaces should be encoded (before being passed to the browser). And the URL you (or Agent) presented to Firefox still had the embedded space, rather than a %20, hence the problem. In my case, I just deleted the unwanted space, and it worked. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
London _ Moslem Train Driver Crashes Train Due To | London Transport | |||
London – Moslem Train Driver Crashes Train Du | London Transport | |||
Train doors opening on tube train between stations - pls stop flaming | London Transport | |||
Train doors opening on tube train between stations - pls stopflaming | London Transport | |||
Tube train sizes and, er, other stuff | London Transport |