what is malformed about this url?

S

Stephane Viau

it works, but were told that some firewalls block it as malformed url
during content filtering.
 
S

Steven Cheng[MSFT]

Hi Stephane,


Thanks for posting in the community!
From your description, you are somewhat confused on the below malformed url:
http://www.mls.ca/PropertyDetails.aspx?vd=&SearchURL=?Mode=0&Page=1%
26vs%3d1%26rlt%3d%26cp%3d%26pt%3d1%26mp%3d0-0-0%26mrt%3d-1-0-0%26Beds%3d0-0%
26Baths%3d0-0%26f%3d%26ft%3dall%26o%3dA%26of%3d1%26ps%3d10%26aid%3d3490%26Ma
pURL%3d%253fAreaID%253d3476&PropertyID=2127525
It didn't work for you?
If there is anything I misunderstood, please feel free to let me know.

I've tried this link and it was able to work on my side. Have you tried it
in any other browser or other different machines?
In addition, as for the malformed you mentioned, this is because some
certain particular characters must be encoded into different style so as to
display in the url, here is the description in MSDN:
-----------------
Special Characters in a URL
In queries executed at the URL, special characters are specified as %xx,
where xx is the hexadecimal value of the character. The following table
lists these special characters and describes their meanings. For more
information, see the RFC1738 specification at
http://www.faqs.org/rfcs/rfc1738.html.
-----------------
And here is the web link of the certain reference in MSDN:
#Special Characters
http://msdn.microsoft.com/library/en-us/xmlsql/ac_xml1_1nqk.asp?frame=true

also, here is some other tech references on the character encoding in url:
#URL Character Encoding Issues
http://www.freesoft.org/CIE/RFC/1738/4.htm

#HTML URL-encoding Reference
http://www.w3schools.com/html/html_ref_urlencode.asp

Hope they're helpful.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
S

Steven Cheng[MSFT]

Hi Stephane,


Have you checked out my preceding suggestions or have you got any ideas on
this issue? If you have any questions ,please feel free to post here.



Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
S

sviau

weve isolate d the problem to an interaction with certain firewall, proxies,
etc

usrs are able to visit this http://test.mls.ca with no problem, but cant
accessing the live site http://www.mls.ca

the differerence between the two is that the live site is behind a SQUID
proxy.
users have reported problems using watchguard, winproxy, freedom firewall,
etc proxies/firewalls products.

what we still dont know is what these proxies dont like about the url from
our site? we have no whitespace, no underscores in domain, its
encoded....what is it?!?

also, this is where users get stuck (get the error from proxy); anything
wrong with this code; is there any issues isth postback, redirects,
cookies..interaction between them. is this correct
Response.Redirect("~/PropertyResults.aspx" & Request.Url.Query, True) or
should we be using the full path
Response.Redirect("http://www.mls.ca/PropertyResults.aspx" &
Request.Url.Query, True) ? pls help
Private Sub btnAccept_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles lnkAccept.Click

Dim c As New HttpCookie("LegalDisclaimer")

c.Expires = DateTime.Now.AddMonths(1)

c.Value = "1"

Response.Cookies.Add(c)

Response.Redirect("~/PropertyResults.aspx" & Request.Url.Query, True)

End Sub


thanks
stephane
 
E

Eric Lawrence [MSFT]

Where does the ~ folder live?

Try using the fully qualified path (e.g.
http://www.mls.ca/propertyresults.aspx) and see if it works for you.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top