When I was writing app on Windows, I passed a full file path like `D:\Web\application' by
and it was dropped by safeURL, so result was
I don't want to argue, if windows paths should be allowed by safeURL, or not (maybe yes, maybe not). I want to discuss about empty value.
At first moment I was confused where the path dissapeared, and I was
searching why is
$path empty? I think, it would be more friendly
result to be:
<a href='?path=error:Sanitized by safeURL helper'>
This navigates newbies to find the topic on forum.
What do you think?
Last edited by Milo (2014-01-05 22:20)