[issue583] bug un zsh urlencode

bapt bts at bts.grml.org
Fri Dec 5 18:33:21 CET 2008


New submission from bapt <baptiste.daroussin at gmail.com>:

urlencode fails when the hexa code is in the forme 0? for example tab code is
%09 but urlencode report %9 the solution is to pad the result of hexa
transformation :
replace ${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%$(([##16]#match))} line 822
et replace it by
${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%${(l:2::0:)$(([##16]#match))}}

----------
assignedto: ft
messages: 1714
nosy: bapt, ft
priority: bug
status: unread
title: bug un zsh urlencode

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue583>
_____________________________________


More information about the Bugs-changes mailing list