[ic] decoding problem

Stefan Hornburg (Racke) racke at linuxia.de
Fri Nov 14 19:28:39 UTC 2008


Rick Bragg wrote:
> I guess this is more of an apache thing than IC, sorry if this is off
> topic for this list, but I was wondering if anyone here has a solution.
> 
> I am using the "filesafe" filter and creating directories and symlinks
> for images on the fly based on item titles. For example, someone creates
> an item with the title Test_"Test's" and uploads an image, IC builds a
> directory and uploads the image to the following URL.
> 
> http://test.com/Test_%22Test%27s%22/test.jpg
> 
> That is all working perfect, however, when I try to browse or link to
> it, it gets re-written to the following and causes a 404.
> 
> http://test.com/Test_"Test's"/test.jpg
> 
> Is this something that apache is doing? or is this just a browser issue?
> What should I do to make sure that it does not get decoded like this?

I would just collapse all unusual characters and whitespace to underscores.
It avoids this problem, the URL looks better and it is common practice
in blogs etc.

Regards
         Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list