Ticket Information - ID: #765
ID: | Category: | Severity | Reproducibility | Date Submitted | Updated By: |
---|---|---|---|---|---|
0000765 | Bug Reporting | normal | always | 09/09/14 10:49AM | Jerl |
|
|
Summary: | Malformed file URLs in API |
Description: | Every time when I query API, I get an XML document with invalid file URLs. For example, when I query API using following parameters: http://gelbooru.com//index.php?page=dapi&s=post&q=index&limit=100&tags=ke-ta I get XML document with posts containing file URLs like this one: file_url="http://youhate.us/images/88/a4/88a4de7b81a390912712979c2ebbdc14.jpg" Following this URL gives me 404 error. When I view the same image from Gelbooru, it has the following URL: http://youhate.us//images/88/a4/88a4de7b81a390912712979c2ebbdc14.jpeg (notice double slash after domain name and file extension mismatch) |
Additional Info: |
Jerl replied at 2014-09-09 15:05:38 |
The double slash doesn't actually affect anything. In fact, those double slashes you'll find used outside of the API aren't actually supposed to be there; they're there as part of a bug. It's a known issue, but it isn't a problem, since both your browser and the server its self will still know what you're actually trying to access. As for the file extensions, I'm going to presume that those are being changed to normalize them all to .jpg. This should be fixed fairly soon. |