0

I am interfacing my application with a third party application, the third party application pass my application at one place with '#' hash as query variable separator than '&' ampersand. C# removes the malformed part of query string, i.e. '#' and all part further right to it. Is there any way to get the whole raw query string including the malformed part, so that I can parse it myself.

There is no provision available to ask third party to correct this issue.

I have tried Request.QueryString, Request.RawQuery, Request.Url.Query but none contain the actual raw query with malformed part. Which means raw query is NOT actual raw query :( If you could help me, I will be grateful to you.

Thank you.

abatishchev
  • 98,240
  • 88
  • 296
  • 433
user528194
  • 23
  • 3
  • Provide an example of such URL – abatishchev Dec 02 '10 at 15:55
  • it is kind of possible to deduce from your question that your application is running on the server, but where is the third party application running? on the server as well? i would not expect a comprehensive response to such a vague question. – akonsu Dec 02 '10 at 18:46

1 Answers1

0

Getting the contents after the hash in the URL isn't straightforward because it is intended for the client, not your application running on the server. How does the interaction between the two applications happen, perhaps a workaround can be applied?

Also, have you seen this: How to get Url Hash (#) from server side

Community
  • 1
  • 1