BUG: upload filename with spaces bad link
-
When uploading a file that contains non-URI characters (such as spaces) the file is uploaded successfully, but the link displayed for the file is not properly URI-encoded:
Instead of this:
<img src="upload_dir/file with spaces.gif">
it should be this:
<img src="upload_dir/file%20with%20spaces.jpg">
The PHP function rawurlencode() can be used to encode the filename.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘BUG: upload filename with spaces bad link’ is closed to new replies.