Labels: Type-Defect Priority-Medium
New issue 3944 by zach...@gmail.com: [BUG] Reviewboard 2.0.18 Emailed URL
to File Upload is Incorrect
Copy-pasted from my google group post at
Relative links are generated from emails sent due to uploaded images on a
Reviewboard Version: 2.0.18
1. Install reviewboard 2.0.18 (we use apache to serve it via
wsgidaemonprocess with 15 threads and 3 workers)
2. configure it with authentication (we use a custom sso backend) and with
an email server (we have send emails for review requests, send emails when
review request are closed, enable auto-submitted header, sender email
address, mail server, and port filled out, but nothing else)
3. sign up/log in as a normal user and make sure your account is set with a
valid email address
4. create a review request
a) uploading a diff (we used a perforce diff and a perforce repo, along
with a pending change number)
b) you will need to fill out summary and description (eg: the
word "test" in each)
c) add yourself as a reviewer (under "people")
d) click "publish"
5. attach an image
a) go to "update" on the review request and click "add file"
b) select an image (I chose a 9.13KB PNG file which I have attached)
c) select "open" and then accept the image without a caption
d) click "publish" without any further changes
e) you should have received at least 2 emails at this point
6. review the immage
a) on "review request changed (added files)" click "review"
b) select a block of the image and type the word "banned" in the dialog
c) save the comment and publish the review
d) see that the email which is generated contains a relative link to
eg: <img class="modified-image"
width="132" height="123" alt="banned">
BANHAMMER.png 9.1 KB
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.