0

Possible Duplicate:
Links with quotation marks are broken

Hi, I tried posting this link

http://books.google.com/books?id=XWu70Oqz6RIC&pg=PA344&lpg=PA344&dq=wpf+"sharing+resources+between+assemblies"&source=bl&ots=FMQU9g3whX&sig=rhK8YR-OUddEKmSBMqZXv45gxNc&hl=en&ei=JlqpSqf5NNKBtge6jqXYBw&sa=X&oi=book_result&ct=result&resnum=1#v=onepage&q=wpf%20%22sharing%20resources%20between%20assemblies%22&f=false

and the link text doesn't get highlighted (I think it's because it has a double quotes character in it). I also tried on with an apostrophe and it didn't work either, I had to resort to tinyurl in order to post both links.

Thanks.

P. S. As I posted the text I noticed another bug. The link text goes all the way to the right in my monitor (it goes beyond the text area and it even makes the browser screen horizontally scrollable!)

marked as duplicate by balpha Mar 11 '11 at 13:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

6

I feel like I've done this before:

I intend to reuse this answer over and over until this problem is fixed or the eventual heat death of the universe, whichever comes first. Just mentally replace the parts about the parens with the specific character you are having problems with:

I doubt we'll get this fixed, but you can resolve it yourself by URL encoding ( and ) as %28 and %29. Since one of these bugs gets posted every two to three days, here's a simple rule of thumb:

Any characters in your URL other than A-Z, a-z, 0-9, and /.=?-+%&* (and the : in "http:") should probably be URL encoded.

I've cobbled together a quick page that will encode the things that shouldn't need encoding. You can find it here. It doesn't use any jQuery, so it's probably completely unreliable. If you find anything it should be encoding but isn't, let me know.

1

You have " quotation marks. You have to encode them. Replace the double-quote marks with this:

%22

So that the part that looks like this:

wpf+"sharing+resources+between+assemblies"&source=bl

is instead encoded as this:

wpf+%22sharing+resources+between+assemblies%22&source=bl

One more thing. tinyurl is never the answer.

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