Normalize multi URLs generated by share button.

This ensures that share button URLs don't carry over subdomains.
This commit is contained in:
Max Goodman
2013-09-26 13:21:30 -07:00
parent 1c052d1c6f
commit a9fdaf9c9c

View File

@@ -1869,7 +1869,7 @@ class MultiInfoBar(Templated):
if explore_sr:
self.share_url = "/r/%(sr)s/submit?url=%(url)s" % {
"sr": explore_sr,
"url": add_sr(self.multi.path, sr_path=False),
"url": g.origin + self.multi.path,
}
else:
self.share_url = None