What web page demonstrates the issue? Actually I think I already know the problem. If the url comes from the database it is probably that you are using MySQLi and the cross site scripting protection is encoding the slash. You can probably add a "false" argument to the getColumnVal() reference where you are getting the value from the database to correct the issue.