Jump to content

Images with special characters not showing?


barkster

Recommended Posts

I'm have an uploader program in java that I use to upload some images and it is encoding the names but I cannot view them on the site.  For instance the file is on the server as hallcorner01%5b1%5d.jpg but cannot browse to it, says not found but copied from my ftp server hallcorner01%5b1%5d.jpg is there.  Why isn't apache seeing this?

I do need to fix that but what I did for now was just urldecode the name in my upload script.  I guess I see what is happening the browser is expecting the [1] and the filename is encoded so it can't see it.  I wasn't thinking about encoding at first cause the two names matched but the browser was decoding expecting the [1].  Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.