1.1 --- a/actions/SharedUpdates.py Tue Aug 27 23:33:41 2013 +0200
1.2 +++ b/actions/SharedUpdates.py Tue Aug 27 23:34:44 2013 +0200
1.3 @@ -121,7 +121,13 @@
1.4
1.5 # Get the URL that yields only the fragment.
1.6
1.7 - fragment_link = "%s?action=SharedUpdate&fragment=%s" % (update.link, update.fragment)
1.8 + i = update.link.rfind("#")
1.9 + if i != -1:
1.10 + link_without_fragment = update.link[:i]
1.11 + else:
1.12 + link_without_fragment = update.link
1.13 +
1.14 + fragment_link = "%s?action=SharedUpdate&fragment=%s" % (link_without_fragment, update.fragment)
1.15
1.16 download_links = []
1.17