upload error with images with points in the file name #1556

Closed
opened 2026-02-05 01:13:17 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Jonny124 on GitHub (Feb 25, 2020).

When you upload a picture file with a second point in the name an error message is shown stating just specific file types can be uploaded.

example:
asdf2.0.jpg -> error
asdf20.jpg - > no error

Bookstack version 0.28.2 was used.

Originally created by @Jonny124 on GitHub (Feb 25, 2020). When you upload a picture file with a second point in the name an error message is shown stating just specific file types can be uploaded. example: asdf2.0.jpg -> error asdf20.jpg - > no error Bookstack version 0.28.2 was used.
Author
Owner

@ssddanbrown commented on GitHub (Feb 26, 2020):

Yeah, There's prevention in place to prevent "double extensions" in uploaded files as it opens systems up to a range of potential double-extension or directory traversal attacks.

@ssddanbrown commented on GitHub (Feb 26, 2020): Yeah, There's prevention in place to prevent "double extensions" in uploaded files as it opens systems up to a range of potential double-extension or directory traversal attacks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1556