[Yum-devel] [PATCH] quote uids to keep cachedir ascii-clean. BZ 832195

James Antill james.antill at redhat.com
Mon Jun 25 19:19:29 UTC 2012


On Tue, 2012-06-19 at 16:09 +0200, Zdeněk Pavlas wrote:
> ---
>  yum/misc.py |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

 Uh, sorry ... I thought I'd replied to this.

 It solves the problem, but the commit messages says "uids" when it's
actually "username" ... and I _think_ sysadmins. would much prefer it if
we didn't quote here.
 Atm. we have stuff like:

yum-james-dwPkso/

...and after this patch we'll have stuff like:

yum-j%C2%B9-dwPkso/

...and mapping that to an actual user might be annoying. The traditional
solution to this kind of thing is to check all the bytes against
"abcd...xyz1234567890" and if there is a non-match use something like:

yum-[123]-dwPkso/

...where "123" is their uid. Another option is to use the uid all the
time.
 Any opinions?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20120625/7f858912/attachment.asc>


More information about the Yum-devel mailing list