Ensure an absolute URL is returned from the file upload service

Review Request #8858 — Created March 29, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
361761c...

Reviewers

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.