RESOLVED INVALID 231652
URLs getting trimmed in address bar
https://bugs.webkit.org/show_bug.cgi?id=231652
Summary URLs getting trimmed in address bar
Jack Wellborn
Reported 2021-10-12 18:17:27 PDT
Created attachment 441026 [details] Video Showing the Behavior I found a hairy bug wherein the address bar trims URLs to 4096 characters. The browser still requests the larger URL, thankfully, but editing that URL in the address bar trims subsequent requests. I'm not sure if this belongs in Webkit so let me know if I should send this as a Safari Radar.
Attachments
Video Showing the Behavior (4.54 MB, video/mp4)
2021-10-12 18:17 PDT, Jack Wellborn
no flags
Sam Sneddon [:gsnedders]
Comment 1 2021-10-13 13:36:49 PDT
Strongly assume Safari, but let's just imported it from here and migrate it.
Radar WebKit Bug Importer
Comment 2 2021-10-13 13:37:03 PDT
Alexey Proskuryakov
Comment 3 2021-10-13 17:05:12 PDT
This will get tracked by Apple via the import, however it is always better to have people report their own bugs via feedbackassistant.apple.com. That way, there is a channel for communication between Apple and the reporter. That said, 4096 seems like a lot, a quick web search suggests that other browsers support less? E.g. https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers Anyway, marking as INVALID as a non-WebKit issue.
Jack Wellborn
Comment 4 2021-10-14 05:51:36 PDT
Thanks. Trust me, I do not endorse stupid long urls. That said, I don’t think the bug is the limit, rather the discrepancy between what the browser requests and what is presented in, and then propagated from, the UI. For what it’s worth, this bug caused me some consternation troubleshooting a request, which went downs something like this: 1. Stupid long url isn’t working as expected for reason A. 2. Edit stupid long url to remove reason A, load, and don’t notice that Safari trimmed the stupid long url. 3. See stupid long url still isn’t working 4. Ponder the meaning of life. Anyhow, thanks again.
Note You need to log in before you can comment on or make changes to this bug.