Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #765

ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000765Bug Reportingnormalalways09/09/14 10:49AMJerl
Assigned to:geltas
View StatusPublic
Target Version:N/A
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:

I get XML document with posts containing file URLs like this one:
Following this URL gives me 404 error.

When I view the same image from Gelbooru, it has the following URL:
(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.