Opened 6 months ago
Closed 6 months ago
#22796 closed defect (bug) (fixed)
Images using query parameters with an uncommon filetype are not recognized in insert from URL
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
We're being a little overzealous when trimming the query parameter, as we use the URL variable to double check that nothing has changed in the image's onload callback.
Patch fixes the issue, an example test URL is http://syndetics.com/index.php?isbn=9781423146193/lc.jpg&client=milwp&type=rn12
Attachments (3)
Change History (7)
koopersmith — 6 months ago
comment:3
sc0ttkclark — 6 months ago
Please also strip off the : at the end, the Twitter API returns image files for different sizes like urlhere.com/image.jpg:large
(if it's not too late)
koopersmith — 6 months ago
Note: See
TracTickets for help on using
tickets.

Simple coding error caused by accidentally overwriting a variable.