Re: invalid url and proxy

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 02/13/04


Date: Fri, 13 Feb 2004 15:47:55 -0800

unfortunately asp.net is not w3c compliant in naming controls, and will
generate invalid names. a control name can not legally start with an "_"
(underscore), but asp.net uses this convention a lot. your proxy server is
validating the post data (and rejecting invalid posts - generally a good
idea). you might be able to turn this off.

-- bruce (sqlwork.com)

"sviau" <sviau@crea.ca> wrote in message
news:#$i41fn8DHA.1936@TK2MSFTNGP12.phx.gbl...
> since rewriting our site from asp to asp.net, weve receveid many
complaints
> from users stating that they get invalid urls, and cant access certain
pages
> of our site
>
> nothing has changed in our configuration except site being written in
> asp.net (from classic asp). the site is behind a Linux box with Squid 2.5
>
> is there known issues between proxies and asp.net output..maybe with
> viewstate? underscores in url?
>
> ex:
> Hi! Since you upgraded and gave the mls.ca site a new look (it's
absolutely
> beautiful, by the way), I cannot get a search to work. I tried advance
> search to search only the city of Mission, British Columbia, and it won't
> display any results. It gives me an error screen that I have copied below.
> Why is this happening? Is it only happening to me? I haven't had any
> problems in the past at all. Any ideas? I'm really missing mls.ca.
>
> Thanks for your help!
>
> This is the screen copy:
>
> ERROR
> The requested URL could not be retrieved
>
> --------------------------------------------------------------------------

--
> ----
>
> While trying to process the request:
>
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/msword, application/vnd.ms-excel,
application/vnd.ms-powerpoint,
> application/x-shockwave-flash, */*
> Referer: http://www.mls.ca/PropertySearch.aspx
> Accept-Language: en-us
> Content-Type: application/x-www-form-urlencoded
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
> 1.1.4322)
> Host: www.mls.ca
> Content-Length: 666
> Connection: Keep-Alive
> Cache-Control: no-cache
>
>
__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=dDwtNDM3MzA4NDMyOzs%2B&xrootHead
>
er%3ASideNav%3A0%3AtxtKeywords=Community&xrootHeader%3ASideNav%3A1%3Amlsnmbr
>
=MLS%C2%AE&_ctl0%3AelProvinces%3A_ctl0=3&_ctl0%3AtxtCity=Mission&_ctl0%3Atxt
>
Street=&_ctl0%3AtxtPostalCode=&_ctl0%3AhAreaID=&sel1=1&sel2=20&_ctl0%3AelMin
>
Price%3A_ctl0=300000&_ctl0%3AelMaxPrice%3A_ctl0=350000&_ctl0%3AelMinRent%3A_
>
ctl0=-1&_ctl0%3AelMaxRent%3A_ctl0=0&_ctl0%3AelBeds%3A_ctl0=3-0&_ctl0%3AddlFe
>
atureType=all&_ctl0%3AelBaths%3A_ctl0=2-0&_ctl0%3AtxtRealtorName=&_ctl0%3Atx
>
tBrokerCompany=&_ctl0%3AddlOrder=A&_ctl0%3AddlOrderField=1&_ctl0%3AddlPageSi
> ze=10&_ctl0%3A_ctl1%3AtxtNewName=&_ctl0%3AbtnSearch=Search
>
> The following error was encountered:
>
>   a.. Invalid Request
> Some aspect of the HTTP Request is invalid. Possible problems:
>
>   a.. Missing or unknown request method
>   b.. Missing URL
>   c.. Missing HTTP Identifier (HTTP/1.0)
>   d.. Request is too large
>   e.. Content-Length missing for POST or PUT requests
>   f.. Illegal character in hostname; underscores are not allowed
> Your cache administrator is webmaster@mls.ca.
>
>
>
> --------------------------------------------------------------------------
--
> ----
> Generated Fri, 13 Feb 2004 17:07:29 GMT by www.mls.ca (Squid/2.4.STABLE6
>
>


Relevant Pages

  • Re: [9fans] Plan9 - the next 20 years
    ... you're missing the fact that without the sequence operator, ... second request can arrive before the first request ... (e.g. it's invalid to read from a file that hasn't been opened). ...
    (comp.os.plan9)
  • Re: HKEY_LOCAL_MACHINE problem
    ... High Priority: Highlighted value is missing or invalid: ... Restarts often bring up an OS failure, although the automatic repair function takes the computer back to the same slow performing system. ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: HKEY_LOCAL_MACHINE problem
    ... High Priority: Highlighted value is missing or invalid: ... I select the repair option, then restart the computer, run Registry Mechanic again, and get the same two messages. ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: Protect your computer from PC bugs & errors
    ... >>> that cause general slowdowns, system freezes, and unexplainable errors. ... Missing file associations ... Invalid device drivers ... I guess I am sorry but hey its a free programe try it your like ...
    (uk.local.kent)
  • Re: Protect your computer from PC bugs & errors
    ... >> that cause general slowdowns, system freezes, and unexplainable errors. ... Missing file associations ... Invalid device drivers ... I guess I am sorry but hey its a free programe try it your like ...
    (uk.local.kent)

Loading