Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't create link in confluence

Raju KC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

I can't create link in confluence to the following location due to characters [] .

http://www.abctest.com/knowledge-base/welcome.html?tw[hid]=17

Any idea ?

1 answer

1 accepted

1 vote
Answer accepted
MatthewC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

Try escaping the '[' and ']' characters. If you use the editor, it should do this for you anyway.

http://www.abctest.com/knowledge-base/welcome.html?tw%5Bhid%5D=17

if you want more info, here is a reference:

http://www.w3schools.com/tags/ref_urlencode.asp

Raju KC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

Which editor converts that??

MatthewC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

the Confluence editor.... if you go "Insert menu > Link" and paste your link into the Address field, the editor should auto-escape it for you

Raju KC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

My editor does not auto-escape. which version of confluence are you using?

MatthewC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

just tried in 4.2.13 and 3.5.17, both appeared to do the same...

Doh! I just worked out what it is!

I'm just doing a right click on your URL in the question above, copy shortcut and pasting it in to the editor. The URL has already been escaped by Answers & I'm just picking it up

Sorry, you have to do it manually.

Raju KC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

Are there any macros or plugins that can do without encoding the url?

We have to use "[]" instead of ASCII value.

MatthewC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

Not sure I understand... %5D and %5B are the same codes as [ and ]. The web application on the end should be able to decode this quite happily.

if for some reason it can't... then I'd use HTML macro or write a small user macro to dump out the HTML directly

Raju KC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2013

Do you have any reference why [] is not working in confluence?

MatthewC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2013

I'd day that it's because the '[' character is a trigger for a link to be inserted. https://confluence.atlassian.com/display/DOC/Using+Autocomplete

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events