Re: Question about pystaticfile.py

Oscar Norlander <oscar-no-XRBTKNQ/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <20040909112311.GA11016@debian>
Forgot the code:

     if page_name.find("/") > 0:
         page_name = page_name[page_name.rfind("/"):]

On Thu, Sep 09, 2004 at 01:11:31PM +0200, Oscar Norlander wrote:
> Hi
> 
> I think this is targeted to Will (the creater of pystaticfile.py). I can only find his home page and not his email address. It seams that he is here a lot =).
> 
> I.m using pystaticfile.py that he has coded for pybloxsom. I could not use pages in subdirectories of staticdir root. However I commented out these lines and I got it to work: 
> 
> 
> 
> However my question is if you wrote those lines for any particular reason. Do they provide with some special security against evil hackers?
> 
> A pre-thank you Oscar N in Sweden
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> pyblosxom-users mailing list
> pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-users


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.