View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003261 | AJAX/JS | Bug Report - Interface | public | 2018-09-15 01:10 | 2019-04-09 22:22 |
Reporter | Belove | Assigned To | DerIdiot | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Summary | 0003261: BBCode editor: image URLs with parameters are rejected in pop-up parameter entry field | ||||
Description | BBCode editor: image URLs with parameters are rejected in pop-up parameter entry field when clicking the image icon. Error is "The entered data is invalid." Image URLs with parameters are accepted, as expected, when typed directly into the message input field. | ||||
Tags | bbcode, editor, forum, message, URI | ||||
|
By "with parameters" I mean query parameters--by which I mean a "?" is in the URL. |
|
provide an example link to such an url. |
|
https://i.postimg.cc/zJT28008/Altered-in-your-face.jpg?dl=1 However, it turns out that in the case of this host where I encountered the parameterized links, the parameter is really not required for hotlinking images. I had used it out of an abundance of caution to be sure to get the full resolution. Further testing shows that the same link without the parameter returns the full resolution on this host as well. The parameter in this case likely just causes inclusion of a Content-disposition HTTP header or similar (I can't verify that definitively from my current device). Nonetheless, allowing all valid URLs on supported hosts seems like a good thing. Should save potential future maintenance of unnecessary checks. This check is not performed if the URL is typed into the message body directly anyway, so it is not enforced, just discouraged by one input workflow. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-09-15 01:10 | Belove | New Issue | |
2018-09-15 01:10 | Belove | Tag Attached: bbcode | |
2018-09-15 01:10 | Belove | Tag Attached: editor | |
2018-09-15 01:10 | Belove | Tag Attached: forum | |
2018-09-15 01:10 | Belove | Tag Attached: message | |
2018-09-17 01:11 | Belove | Tag Attached: URI | |
2018-09-18 05:28 | Belove | Note Added: 0004288 | |
2018-12-03 15:18 | DerIdiot | Note Added: 0004307 | |
2018-12-03 15:18 | DerIdiot | Assigned To | => DerIdiot |
2018-12-03 15:18 | DerIdiot | Status | new => feedback |
2019-04-09 22:22 | Belove | Note Added: 0004354 | |
2019-04-09 22:22 | Belove | Status | feedback => assigned |