I was just posting an answer on SO, and I have found this strange behavior.
I was inserting a link, which looks ugly, but HP and IBM tend to have such weird links:

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-126-17^8_4000_100__

I inserted the link into the dialog using the icon above the text input area. But the marked words which supposed to be the hyperlink are displayed as normal words, not as a hyperlink.

When I checked the source, the link I have inserted was not there, although when I edit the question it is there.

I tried also the following, but without success:

<http://foo.com>
[foo](http://foo.com)
<a href="http://foo.com">foo</a>

I thought that parsing this link is faulty in general, but when I just copied the link into the comment it is active. But the numbers at the end are not treated as a part of the link:

^8_4000_100__
share|improve this question
    
This answer: stackoverflow.com/revisions/1766345/list –  random Nov 19 '09 at 22:58
add comment

2 Answers

up vote 3 down vote accepted

It's because the caret (^) is an unsafe character and needs to be encoded as %5E.

So this:

zn=bto&cp=1-11-126-17^8_4000_100__

Needs to be encoded as:

zn=bto&cp=1-11-126-17%5E8_4000_100__
share|improve this answer
add comment

As of recently, when entering a link via the button (or Ctrl-L), the characters will automatically be escaped.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .