Changes between Initial Version and Version 1 of Ticket #57242, comment 4
- Timestamp:
- 12/02/2022 04:29:12 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57242, comment 4
initial v1 4 4 > Some web-servers returns Forbidden error if filename contains redundant dot, for example: filename..jpg 5 5 6 It sounds like `..` triggers some security rule on the server, e.g. to prevent directory traversal. This appears to be similar to #45368, al sothat ticket is about `..` in post content.6 It sounds like `..` triggers some security rule on the server, e.g. to prevent directory traversal. This appears to be similar to #45368, although that ticket is about `..` in post content. 7 7 8 8 Applying `rtrim( $filename, '.' )` before appending the extension probably makes sense. On the other hand, as noted above, that does not fix the issue if `..` is in the middle of the file name.