Click here to Skip to main content
14,835,280 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi!!!.

when i publish my website from vs2012 and when i run website i am getting some encrypted text with url (in bold)

Like: "localhost.com/%28S%28iqlo5ypdbinj23wszegbmj0c%29%29/Index.aspx"
Posted

That is called : URL Encoding[^]
   
Comments
DelphiCoder 6-Feb-15 3:15am
   
The %28 and %29 is from URL Encoding but the rest of the garbage characters are not. The random garbage characters are being caused somewhere else.
Where are you getting that URL from? Is it what you are seeing from the backend on the request, or is that what you must paste into your browser to view the page?

If the former case, then does your URL have special characters or white space within the name? If so, then those will be escaped out. I'm sure you may have seen %20 for example which is a space. The %28 is the "(" character and the %29 is the ")" character. So do you have a line that looks like
localhost.com/(S(iqlo5ypdbinj23wszegbmj0c))/Index.aspx
somewhere that is being sent to your host? Check your strings and make sure that you have opening and closing quotes on them all in the proper locations.
   
Comments
Shubham Choudhary 6-Feb-15 1:53am
   
hi!! thnx 4 ur reply
here is my live website its onlinecareerjob.com take a look please
its simply a .aspx page when browse the site geting "(S(31qsygis2ifxziyu0oe2tyu2))" encrypt text but i want only "onlinecareerjob.com/index.aspx"
DelphiCoder 6-Feb-15 3:04am
   
I see what you mean. I pasted just onlinecareerjob.com into my browser and it did the same thing. You clearly have some kind of redirection going on that is causing this. This could be a redirection tag on the original page, a script on the original page, or something on your backend.

If you are using IIS to serve up pages then check your Information Services Manager to make sure you don't have a typo somewhere in your redirection or pages. Check you configs also. Do a file contents search in your application's directory using "5ypdbinj23" for your search term because it is a portion of the garbage characters that you are seeing but it isn't being part of the section being encoded. You should be able to discover the corrupted line that way.
DelphiCoder 6-Feb-15 3:11am
   
Never mind searching on "5ypdbinj23" because I just realized that the garbage characters are random. This is probably a session cookie or something of that nature that is getting into your URL line. Look into all the places where you are handling the URL and make sure you are not injecting your session variable into it. This is occurring wherever your redirection is taking place.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900