BTS

Issue583

Title bug un zsh urlencode
Priority bug Status resolved
Superseder Nosy List bapt, ft
Assigned To ft Topics

Created on 2008-12-05.17:33:20 by bapt, last changed 2008-12-05.22:08:52 by ft.

Messages
msg1717 (view) Author: ft Date: 2008-12-05.22:08:49
We believe that your issue has been closed by the upload of
Version 0.3.61 of grml-etc-core from Frank Terbeck <ft@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 05 Dec 2008 18:48:45 +0100
Source: grml-etc-core
Binary: grml-etc-core
Architecture: source all
Version: 0.3.61
Distribution: unstable
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Frank Terbeck <ft@grml.org>
Description: 
 grml-etc-core - core ecetera files for the grml system
Changes: 
 grml-etc-core (0.3.61) unstable; urgency=low
 .
   * zshrc: Fix a bug in urlencode(), thanks to Baptiste Daroussin
     [Closes: issue583]
Checksums-Sha1: 
 d3889a8dd5e80b9c0f134ba2e5eb354e3882ed88 873 grml-etc-core_0.3.61.dsc
 a6a56e9470a263568fc7898bf9c2e7d3fa2dc98b 109506 grml-etc-core_0.3.61.tar.gz
 6d70ddc6313033135898941fa27aaa3fd9494676 108432 grml-etc-core_0.3.61_all.deb
Checksums-Sha256: 
 8c464c09ddfeb9f1336934f8f74f22ee59e8b5644e465c396252614fcb166461 873 grml-etc-core_0.3.61.dsc
 0f8e1b8b5758ffa89155923b317391df4c0631d253d7428c242ee9d60e9658b3 109506 grml-etc-core_0.3.61.tar.gz
 ee406d49a5b8bde59ab57ed1cc2af094bfd352239734488cd0da1652b6b6748c 108432 grml-etc-core_0.3.61_all.deb
Files: 
 389c862a0cc9e267b4a177a35e257cb0 873 grml optional grml-etc-core_0.3.61.dsc
 907a101545f8cc59b9999125999bfc71 109506 grml optional grml-etc-core_0.3.61.tar.gz
 1be8ea10ec73ed9314cef96c8cf52449 108432 grml optional grml-etc-core_0.3.61_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJOaWM2N9T+zficugRAviDAKCE08A4Z7SVHaWeLHrvfdGTYKp07gCfaV5J
yFwPbeqJK8wLjUrc0J9RUfM=
=ChZP
-----END PGP SIGNATURE-----
msg1716 (view) Author: mika Date: 2008-12-05.21:35:28
Fixed in current git:
http://git.grml.org/?p=grml-etc-
core.git;a=commit;h=36b19d3d797d334b963eb77e608250e930742e76

Thanks for reporting bapt, thanks for the commit frank.

regards,
-mika-
msg1714 (view) Author: bapt Date: 2008-12-05.17:33:19
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))}}
History
Date User Action Args
2008-12-05 22:08:52ftsetstatus: in-progress -> resolved
messages: + msg1717
2008-12-05 21:35:29mikasetstatus: unread -> in-progress
messages: + msg1716
2008-12-05 17:33:20baptcreate