urlencode generates wrong result for some characters

Bug #1669600 reported by Aeron Monroe on 2017-03-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gridsite (Ubuntu)

Bug Description

urlencode seems to generate encoded values with leading blanks instead of zeros.
For example:

$ echo -e "\\n\\n" | xargs -0 urlencode
% A% A% A

This should be


$ lsb_release -rd
Description: Ubuntu Zesty Zapus (development branch)
Release: 17.04

$ apt-cache policy gridsite-clients
  Installed: 2.3.2-3
  Candidate: 2.3.2-3
  Version table:
 *** 2.3.2-3 500
        500 http://ports.ubuntu.com/ubuntu-ports zesty/universe powerpc Packages
        100 /var/lib/dpkg/status

tags: added: zesty
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers