What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

Is this a known bug?

A link with quotes is visible at preview time, but not visible when actually posted.

The above "link" word at preview time points to this URL (which, as a line on its own at least partially works):

http://www.google.com/search?q="green+bits"+"red+bits"

Workaround: fully encode the URL.

Edit:

After reading http://stackoverflow.com/editing-help (thanks Jeff) and trying to understand what George means, here are some samples in code format to make my question more clear:

This format does not work:

[link][5] 
[5]: http://www.google.com/search?q="green+bits"+"red+bits"

This format does not work either:

[link][6] 
[6]: <http://www.google.com/search?q="green+bits"+"red+bits">

This format works (but requires you to encode the URL, so you cannot copy/paste from your browseers' address bar):

[link][7] 
[7]: http://www.google.com/search?q=%22green%2Bbits%22%2B%22red%2Bbits%22
share|improve this question
    
thanks for the edit. –  Jeroen Wiert Pluimers Jan 18 '10 at 12:38

2 Answers 2

up vote 1 down vote accepted

See

http://stackoverflow.com/editing-help

for 4-5 different linking formats

edit: the sanitizer doesn't like the non-encoded " remaining in the URL. I added it to the list of characters encoded in EncodeProblemUrlChars().

share|improve this answer
    
Jeff, thanks. Totally agree with "status completed". It worked! I'll accept your answer. –  Jeroen Wiert Pluimers Jan 18 '10 at 18:51
    
Is this list available in the pagedown project as well? Couldn't find in its wiki when searching. –  Shadow Wizard Jun 4 '13 at 9:03

The answer isn't to fully encode the URL, the answer is to use an identifier and not just have a stock URL sitting on a page.

share|improve this answer
1  
I'm not sure I understand your answer. What's a "stock URL"? Your URL (which removes the quotes) results in a semantically different URL than the one with quotes (which goes wrong). I'll try to rephrase my question to make it better readable. –  Jeroen Wiert Pluimers Jan 18 '10 at 15:16

You must log in to answer this question.

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