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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.