pbrisbin / aurget

A simple pacman-like interface to the AUR
GNU General Public License v2.0
69 stars 17 forks source link

Avoid mixing printf and url_encode #52

Closed pbrisbin closed 8 years ago

pbrisbin commented 8 years ago

Previously, all values output by url_encode were sent through printf at some point. This meant that url_encode should output its %-symbols doubly-escaped. Recent changes avoided the need to printf certain URLs and so these double %-symbols were problematic. The simplest solution at this time was to %standardize on not using printf for these values (accepting the %compatibility concerns of using echo) and removing the double escaping.

Fixes #51