Escaping a backslash

Yesterday, we migrated from confleunce 2.7 to 4.x. Since the migration, links with a backslash in them are broken. In v 2.7, I had to escape the backslash with another backslash to make it work. Now, nothing works. 1 backslash or 2 - nothing works. For example,

In 2.7, this one worked nice:

[SQLCLUS1\SQL1|http://wiki/display/DBA/Details?run_1_cat=Servers&run_1_obj=SQLCLUS1\\SQL1&run_1=run]

In 4.x, this one displays as a hyperlink (the actual link is of course incorrect and so, when clicked does not render the page):

[SQLCLUS1\SQL1|http://wiki/display/DBA/Details?run_1_cat=Servers&run_1_obj=SQLCLUS1&run_1=run]

this one does not display a hyperlink (this is supposed to be the actual link):

[SQLCLUS1\SQL1|http://wiki/display/DBA/Details?run_1_cat=Servers&run_1_obj=SQLCLUS1\SQL1&run_1=run]

Any ideas?

2 answers

1 accepted

A colleague of mine suggested using %5C to replace a backslash. It worked like a charm.

Hi Ajay,

Becuase of the new editor in Confluence 4.x you can use the insert link option. I believe this is the best option for this case

Cheers

The above code is generated by a sql server stored procedure. How do I do this in there?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

281 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you