1 This tests \ characters being changed to / in all different scenarios.
3 If it works you should see seven messages below that have \ or / characters as specified.
6 javascript: function argument containing a backslash (\) should not be converted to a slash (/): "alert('to be\\not')"
7 http: base should convert a \ to a / : "http://apple.com/support"
8 https: base should also convert a \ to a / : "https://login.apple.com/support/"
9 file: base should convert a \ to a / : "file:///Users/"
10 any other valid base except javascript: should convert a \ to a / : "ftp://apple.com/support/"
11 query strings should be left alone: "http://apple.com/support?path=\\myshare\myfolder\myfile\"
12 anchors should be left alone as well: "http://apple.com/support#path=\\myshare\myfolder\myfile\"