subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Skwar <alexanders.mailinglists+nos...@gmail.com>
Subject Re: svn checkout - special characters in file name are not encoding properly
Date Fri, 13 Aug 2010 06:16:48 GMT
Hi.

2010/8/13 Vincent Lefevre <vincent-svn@vinc17.net>
>
> On 2010-08-12 17:16:37 +0200, Stefan Sperling wrote:

> > ~/bin/mysvn:
> >  #!/bin/sh
> >  env LC_CTYPE="en_US.<preferred charset>" svn update
>
> Wrong, wrong, wrong! Security hole!

No, not wrong, but totally correct - especially, if you need to parse the
output in some script, you (kinda) MUST set the locale to some value,
that you know. Leaving it in a undefined state is no good at all.

Alexander
--
↯    Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/     ↯
↯ Chat (Jabber/Google Talk) ↣ a.skwar@gmail.com , AIM: alexws77  ↯

Mime
View raw message