--- a/Allura/allura/model/artifact.py
+++ b/Allura/allura/model/artifact.py
@@ -693,11 +693,11 @@
return AwardFile.query.get(award_id=self._id)
def url(self):
- return urllib.quote_plus(str(self.short))
+ return urllib.quote(str(self.short))
def longurl(self):
slug = str(self.created_by_neighborhood.url_prefix + "_admin/awards/" + self.short)
- return urllib.quote_plus(slug)
+ return urllib.quote(slug)
def shorthand_id(self):
return self.short
@@ -735,13 +735,13 @@
def url(self):
slug = str(self.granted_to_project.shortname).replace('/','_')
- return urllib.quote_plus(slug)
+ return urllib.quote(slug)
def longurl(self):
slug = str(self.granted_to_project.shortname).replace('/','_')
slug = str(self.granted_by_neighborhood.url_prefix + "_admin/awards/"
+ self.award.short + '/' + slug)
- return urllib.quote_plus(slug)
+ return urllib.quote(slug)
def shorthand_id(self):
if self.award: