Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old April 1st, 2008, 05:01 PM
Newbie
 
Join Date: Jun 2007
Posts: 6
Default URL Encoding Issue

Hi,

I have two environment (A and B). Environment A stores the file attachments on a windows drive. Environment B stores the file attachments on a NAS (Network Attached Storage).

When a file with a '=' sign is uploaded, the URL for the file is encoded as below:-
Test%beProd.txt

The above is wrong, since the encoding corresponding to '=' is '%3D'. But anyways, that is not the problem. When trying to view the file, I am able to view the file in Environment A and not on Environment B. Environment B gives an internal server error when trying to view the file. The decoding of the path of attachment is happening as below:

On Env A:-
Test3/4Prod.txt

On Env B:-
TestūProd.txt

As you can see, there is a difference between the 3/4. In Environment B, the '%be' is being decoded as ū. If I change this value on the URL to '3/4', I am able to view the file.

I have tried a lot of different things but nothing seems to work. Has anyone faced such a weird issue before? Any help is much appreciated.

Thanks.
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles