Ensure an absolute URL is returned from the file upload service
Review Request #8858 — Created March 29, 2017 and submitted
The
FileUploadService
in Djblets cannot determine the full URL of
media hosted locally and so will return relative URLs. We specialize
this service in Review Board to prepend the request method and domain to
relative URLs to make them absolute.
- Ran unit tests.
- Manually tested uploading avatars.
Description | From | Last Updated |
---|---|---|
Too many blank lines. |
chipx86 | |
This is probably best on the class. |
chipx86 | |
Let's change this to say "Return an absolute URL for the given URL" or something. "Ensure" doesn't really say that … |
chipx86 | |
Missing backtick at the end of the reference. |
chipx86 | |
Swap these. |
chipx86 |