-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Describe the Bug
Hi there! Was trying to upload an url attachments in editor, but noticed some urls not working. Figured out there is 192 character limit according to end result after creating attachment.
Also can be reproduced via API.
Steps to Reproduce
- Create page in a book;
- Open attachments sidebar
- Open interface with link attachment creation;
- Attach link with length higher than 192;
- Check uploaded link's length - should be 192.
Expected Behaviour
According to the HTTP spec, there's no limit to URL's length, but is should be under 2048 characters.
Screenshots or Additional Context
No response
Browser Details
Chrome 109.0.5414.119 (arm64)
Exact BookStack Version
v22.11
PHP Version
PHP 8.1.13
Hosting Environment
Fedora home server (64-bit), Docker image