urlencode generates wrong result for some characters

Bug #1669600 reported by Aeron Monroe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gridsite (Ubuntu)
New
Undecided
Unassigned

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
%0A%0A%0A

---

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

$ apt-cache policy gridsite-clients
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: zesty
tags: added: zesty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.