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

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

432 views 4 6
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