OK this is annoying. I want to embed 'Tweet this' style links. This is possible using a link such as this:
However when I past this into InDesign as a link it changes it to:
https://twitter.com/intent/tweet%3Ftext%3DThe%2Bproject%2Battempted%2B to%2Bfollow%2Ban%2Bagile%2Bmethodology%2B%2526%2Bborrow%2Bthe%2BLean%2 BStartup%2Bprinciples%2Bof%2BBuild-Measure-Learn%2B%2523mlearnreport%2 6source%3Dclicktotweet
which return an error page. Can I stop InDesign from changing the + to %2B??
Definately a viable workaround, but I don't understand why InDesign is choosing to parse and change the hyperlinks.
I managed to solve the problem by creating them in InCopy instead. Same panels etc but InCopy didn't change any of the + signs.
@Tim – this is a well known bug in InDesign CS6 that persists in InDesign CC.
For the cause see my answer in #1:
I will repeat that here:
It seems that every URL that is filled in in the Hyperlink palette is encoded with something like encodeURI() (a global ExtendScript function):
string encodeURI (text: string)
Encodes a string after RFC2396.
Create an UTF-8 ASCII encoded version of this string. The string is converted into UTF-8. Every non-alphanumeric character is encoded as a percent escape character of the form %xx, where xx is the hex value of the character. After the conversion to UTF-8 encoding and escaping, it is guaranteed that the string does not contain characters codes greater than 127. The list of characters not to be encoded is -_.!~*'();/?:@&=+$,#. The method returns false on errors.
To get it back to a working URL we could decode it by "decodeURI()":
string decodeURI (uri: string)
Decodes a string created with encodeURI().