mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-03-25 15:18:26 -04:00

Fixes https://github.com/PrivateBin/PrivateBin/issues/315 The attachment viewer is also used for storing to be uploaded attachments, which caused some confusion in handling them. I also tried to add some comments clarifying it as it seems to work. Additionally I fixed the issue that you could submit an empty paste and it was not rejected.