Public bug reported:

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

** Affects: gridsite (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669600

Title:
  urlencode generates wrong result for some characters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gridsite/+bug/1669600/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to