Closed Bug 257017 Opened 21 years ago Closed 21 years ago

LONG URLs no longer supported. Will accept 2048, but no longer

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: wheeda, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 EXPECTED BEHAVIOR The following pages says that the URL length is essentially unlimited. http://www.mozilla.org/quality/networking/docs/aboutdata.html EXHIBITED BEHAVIOR On Mozilla 1.5b (don't know about earlier or later builds), the super duper ultra long URLs work. More recent browsers including Mozilla 1.7.2 and firefox 0.9.1, 0.9.2 will only accept URLs upto 2048. Longer URLs are truncated before they are sent to the web server. USELESS DETAILS As you might guess from the demonstration URL, I'm sending MySQL queries. It would be better to use the GET method instead of POST. But I'm using the XAMPP package, which basically has what I need. This is the first time I've worked with PHP, MySQL, or HTML to any degree. Reproducible: Always Steps to Reproduce: 1.Try to load a page with a URL longer than 2048 2. 3. Actual Results: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://192.168.1.113/sql.php?lang=en-iso-8859-1&server=1&db=MicroVu_PNs&table=PNs&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT++%60Icitem01.adduser%60+%2C++%60Icitem01.adddate%60+%2C++%60Icitem01.item%60+%2C++%60Icitem01.itmdesc%60+%2C++%60Icsup101.vpartno%60+%2C++%60Icsup101.vendno%60+%2C++%60Icsup101.lastcst%60+%2C++%60Icsup101.rating%60+%2C++%60Icsup101.lrecdte%60+%2C++%60Icsup101.lead%60+%2C++%60Icsup101.ordmin%60+%2C++%60Icsup101.ordincr%60+%2C++%60Icsup101.adduser%60+%2C++%60Icsup101.adddate%60+%2C++%60Icitem01.plinid%60+%2C++%60Icitem01.punmsid%60+%2C++%60Icitem01.stkumid%60+%2C++%60Icitem01.avgcost%60+%2C++%60Icitem01.stdcost%60+%2C++%60Icitem01.lstcost%60+%2C++%60Icitem01.decnum%60+%2C++%60Icitem01.type%60+%2C++%60Icitem01.comcode%60+%2C++%60Icitem01.history%60+%2C++%60Icitem01.itmclass%60+%2C++%60Icitem01.code%60+%2C++%60Icitem01.barcode%60+%2C++%60Icitem01.UPCcode%60+%2C++%60Icitem01.purextr%60+%2C++%60Icitem01.makeitr%60+%2C++%60Icitem01.suplier%60+%2C++%60Icitem01.stkcode%60+%2C++%60Icitem01.phantom%60+%2C++%60Iciloc01.loctid%60+%2C++%60Iciloc01.icacct%60+%2C++%60Iciloc01.iclacct%60+%2C++%60Iciloc.lsupplr%60+%2C++%60Iciloc01.orderpt%60+%2C++%60Iciloc01.ordqty%60+%2C++%60Iciloc01.ptdusqt%60+%2C++%60Iciloc01.ptdslqt%60+%2C++%60Iciloc01.ytdslqt%60+%2C++%60Iciloc01.ytdusqt%60+%2C++%60Iciloc01.lsoaloc%60+%2C++%60Iciloc01.lwoaloc%60+%2C++%60Iciloc01.lonhand%60+%2C++%60Iciloc01.lonordr%60+%2C++%60Iciloc01.lonwkor%60+%2C++%60Iciloc01.lsale%60+%2C++%60Iciloc01.lrecv%60+%2C++%60Iciloc01.lordr%60+%2C++%60Iciloc01.lpcnt%60+%2C++%60Iciloc01.suplead%60+%0AFROM++%60MicroVu_PNs%60.%60PNs%60+%0AWHERE++%60Icitem01.adduser%60+%0ALIKE++%27%25811260%25%27+OR++%60Icitem01.adddate%60+%0ALIKE++%27%25811260%25%27+OR++%60Icitem01.item%60+%0ALIKE++%27%25811260%25%27+OR++%60Icitem01.itmdesc%60+%0ALIKE++%27%25811260%25%27+OR++%60Icsup101.vpartno%60+%0ALIKE++%27%25811260%25%27+OR++%60Icsup101.vendno%60+%0ALIKE++%27%25811260%25%27+OR++%60Icsup101.lastcst%60+%0ALIKE++%27%258 The following error was encountered: * Invalid URL Some aspect of the requested URL is incorrect. Possible problems: * Missing or incorrect access protocol (should be `http://'' or similar) * Missing hostname * Illegal double-escape in the URL-Path * Illegal character in hostname; underscores are not allowed Expected Results: Loading the page. This bug seems to a more general form of some other bugs. For instance: http://bugzilla.mozilla.org/show_bug.cgi?id=56192 Is this a major feature? I'm not sure. It sure feels like one to me...
see Bug 245636 too
This is still the case in firefox 0.93.
(In reply to comment #1) > see Bug 245636 too Bug 245636 seems to be a problem with someone's webserver more than with Mozilla.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
This is working now. I'm not sure why. We were having some problems with there being two master browsers. The page that I was trying to view was on a linux box that was the second master browser. After I turned off the master browsing for the linux box I notice that this started to work. This doesn't seem reasonable to me. There ought to be something else that caused this, but there being two master browsers is my best guess.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.