forked from chaosarium/lwt
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
databaseDatabase-related issuesDatabase-related issuesenhancementDevelop an existing featureDevelop an existing feature
Description
Describe the bug
Media URI field truncates some long URLs found in the wild as part of my learning. Podcasts that have web players and CDNs often have very long URLs (e.g., 500 characters), but LWT truncates them (I'm guessing at 256 characters).
A limit like 2048 characters, or 1024 characters seems more appropriate, if limits must be in place.
To Reproduce
Steps to reproduce the behavior:
- Go to this podcast episode page
- Click on View Source in your browser
- Search for "m4a:" in the source
- Copy the long URL into Media URI on an Edit Text page in LWT
- The URL is truncated even before all the
?foo=bar&baz=bopURL options
Expected behavior
Expected long URLs such as in this example to work perfectly fine. In this case, the URL is about 500 characters.
Screenshots
N/A
Server (please complete)
- OS Debian GNU/Linux 12 (bookworm)
- LWT version v002008001
- Database name lwt_db
- Database prefix (surrounded by "") ""
- Database Location nginx/1.22.1
- Database Size 0.1 MB
- Web Server REDACTED
- Server Software Apache/?
- PHP Version 8.2.7
- MySQL Version 10.11.3-MariaDB-1
Desktop:
- OS: Windows 10 Pro
- Browser: Firefox
- Version: 117.0.1
Additional context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
databaseDatabase-related issuesDatabase-related issuesenhancementDevelop an existing featureDevelop an existing feature