6 messages in com.googlegroups.pylons-discussRe: urls with spaces do not work
FromSent OnAttachments
Jose Galvez17 Jun 2006 22:20 
askel18 Jun 2006 09:40 
Philip Jenvey18 Jun 2006 12:01.diff
Jose Galvez18 Jun 2006 12:09 
Philip Jenvey18 Jun 2006 13:15 
Ben Bangert18 Jun 2006 14:19 
Subject:Re: urls with spaces do not work
From:Philip Jenvey (pjen@groovie.org)
Date:06/18/2006 12:01:22 PM
List:com.googlegroups.pylons-discuss
Attachments:

On Jun 17, 2006, at 10:20 PM, Jose Galvez wrote:

I'm trying to recreate a website that I have using pylons. The website displays downloaded comics, the problem is that the url for the images contains spaces so when I tried to serve this url I got a 404 error: http://localhost:5000/comicImages/Baby%20Blues/2005.05.12.gif

the images are in the public folder public/comicImages/Baby Blues/image.gif Any thoughts? I could just take the spaces out, but they are added by an automatic program that downloads the comics daily, so I would have to edit that program to remove the spaces in the name, and would rather not since I think pylons should be able to handle this type of url. I'm using the latest dev build of pylons

This is a Paste bug. I've attached a patch to paste to solve the problem with static files if you need it taken care of immediately, otherwise it'll get taken care of in paste's trunk in about a day or so (I'm going to investigate the problem a little further first).