Forum

Fake links in directory listing strip backslashes from URLs

James
13 May 2017, 01:02
The artificial "JavaScript links" wrongly strip backslashes from URLs (the "real link" via the <a> tag has no issues, however.)
External image via http://i.imgur.com/AP4B5K6.png

(Forum viewed this code snippet as "spam")
Hugo Leisink
13 May 2017, 12:50
The backslash was converted to %5C, which is the URL encoded version of the backslash.
James
14 May 2017, 00:37
Yes, I know. The link with the %5C in it works—when it is used—however, the JavaScript onClick hook, when triggered (which is almost always), breaks:
External image via http://i.imgur.com/xHGECAt.png
This topic has been closed.