Correctly encode & sign command-less URLs
Previously, an empty set of commands would result in URLs like http://example.com/unsafe//http://example.com/llamas.jpg
(note the double-/
after the signature). This eliminates the extraneous slash.
Previously, an empty set of commands would result in URLs like http://example.com/unsafe//http://example.com/llamas.jpg
(note the double-/
after the signature). This eliminates the extraneous slash.