On Thu, Nov 27, 2008 at 11:55 AM, mdipierro <[EMAIL PROTECTED]> wrote:

>
> The question is:
>
> Assume a url like http://hostname/app/default/action/data
>
> and data is in unicode and passes validation.
> is it safe to open(data,'r')   ?


i change the path( string object ) to unicode before regex_url.match(path) ,
change it back utf8 after regex_url.match(path), so, it's safe to open
function.

right? (^_^)

>
>
> On Nov 26, 9:41 pm, "jessinio liang" <[EMAIL PROTECTED]> wrote:
> > 2008/11/27 mdipierro <[EMAIL PROTECTED]>
> >
> >
> >
> > > Thank you Jessinio,
> >
> > > could you please email me the patch as an attachment? I cannot read it
> > > properly.
> >
> > > Does anybody have any objection to this patch?
> >
> > sorry , i don't know , i know it work well (^_^)
> >
> > see diff file attachment
> >
> > --
> > 身体是革命的本钱!!http://jessinio.blogspot.com
> >
> >  diff.log
> > 1KViewDownload
> >
>


-- 
身体是革命的本钱!!
http://jessinio.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to