-
Committer:
Thiago Bellini
-
Date:
2012-09-21 17:03:00 UTC
-
Revision ID:
hackedbellini@async.com.br-20120921170300-wgdw2vixrk58wwwp
Pass safe='' to urllib.quote for magento image's name quoting
urllib.quote is used to quote urls so it considers '/' to be safe (as pointed
out in [1]). In here, we are quoting the image's name because it cannot have
spaces, but if a '/' appears, magento will throw a parse error to us, so,
it should not consider any character safe.
[1] http://docs.python.org/library/urllib.html#urllib.quote