Defect #36126

Attachments REST API includes internal port

Added by Yuri Mamaev 11 months ago. Updated 11 months ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:Yuri Mamaev% Done:


Category:REST API
Target version:-
Resolution: Affected version:4.0.9


Trying to get the JSON of the issue using API, with include=attachments, provides attachments links using internal port, not the domain name, port and protocol specified in settings.

As an example: {"id":6043,"filename":"test.txt","filesize":5119,"content_type":"text/plain","description":"","content_url":"","author":{"id":1,"name":"Yuri Mamaev"},"created_on":"2021-10-18T18:38:13Z"}
content_url expected to be:


#1 Updated by Marius BALTEANU 11 months ago

  • Status changed from New to Needs feedback
  • Assignee set to Yuri Mamaev

Did you set your "Host name and path" in Administration -> Settings -> General?

#2 Updated by Yuri Mamaev 11 months ago

Yes, hostname is set to hostname without port.

Also available in: Atom PDF