Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this questionmy answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

replaced http://meta.stackexchange.com/ with https://meta.stackexchange.com/
Source Link

So according to comments on this metathis meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

Fixup of bad MSO links to MSE links migration
Source Link

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

So according to comments on this meta, colons in URLs are automatically encoded if they occur after string position 7.

Unfortunately, this has the side effect of breaking any link which uses the scheme://domain:port syntax because the colon separating the domain and port gets URL encoded (but, deceivingly, still displays properly in the status bar for most browsers when hovering over the link).

Example of problem: my answer on this question

Would it be possible to change the colon-encoding algorithm to only encode colons that follow the first / or ? character after the domain portion?

Edit: The urlencoded colon appears to work okay in Opera, but not in Firefox, Chrome, or IE.

Migration of MSO links to MSE links
Source Link
Loading
edited tags
Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 96 characters in body
Source Link
Dav
  • 410
  • 2
  • 11
Loading
added 172 characters in body
Source Link
Dav
  • 410
  • 2
  • 11
Loading
Source Link
Dav
  • 410
  • 2
  • 11
Loading