mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Normalize multi URLs generated by share button.
This ensures that share button URLs don't carry over subdomains.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user