bugZoneCheck - Bugs: bug #36895, GET URLs too long lead to bad...

 
 

bug #36895: GET URLs too long lead to bad error messages

Submitter:  Stephane Bortzmeyer <bortzmeyer>
Submitted:  Fri 20 Jul 2012 08:37:25 AM UTC
   
 
Category:  * input Severity:  Ordinary
Priority:  5 - Normal Item Group:  * Crash/Error
Status:  Confirmed Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 20 Jul 2012 10:44:32 AM UTC, comment #3: 
Kim Minh Kaplan <kmkaplan>
Group administrator
Fri 20 Jul 2012 10:35:56 AM UTC, comment #2: 

OK, but a better error message would be nice.

Stephane Bortzmeyer <bortzmeyer>
Group administrator
Fri 20 Jul 2012 10:25:46 AM UTC, comment #1: 
Kim Minh Kaplan <kmkaplan>
Group administrator
Fri 20 Jul 2012 08:37:25 AM UTC, original submission:  

If you try to use the Web interface with a URL and the GET method, if the URL is quite long (for instance <http://www.afnic.fr/outils/zonecheck/zc.cgi?ns2=ns3.absolight.net.&ns0=ns1.absolight.net.&zone=langochat.fr&progress=counter&intro=t&ds-rdata=1365+7+1+DA16FEDBD29B0F85C0A220D7643DC0452645CE31&ds-rdata=1365+7+2+6B0760EFABAD8A64283D63B4740E0FC3F390163C0CABF05B1A3D039CA0091D23&ds-rdata=32850+7+1+43F7DD501CD577D18AC84AA4E9553AD29DAF15DA&ds-rdata=32850+7+2+400BE6AD00D38B3621CB73ED988FB14563049C028869F6100687EA732CE9A12F&ns3=ns4.absolight.net.&details=t&afnic=&ns1=ns2.absolight.net.&explain=t>, you get a text/plain response:

ERREUR: undefined local variable or method `arra' for #<ZoneCheck::Param:0x2b91c1e8bdf8>

There have been apparently a violent truncation.

With an URL which is a bit smaller (two DS were removed):

<http://www.afnic.fr/outils/zonecheck/zc.cgi?ns2=ns3.absolight.net.&ns0=ns1.absolight.net.&zone=langochat.fr&progress=counter&intro=t&ds-rdata=1365+7+1+DA16FEDBD29B0F85C0A220D7643DC0452645CE31&ds-rdata=1365+7+2+6B0760EFABAD8A64283D63B4740E0FC3F390163C0CABF05B1A3D039CA0091D23&ns3=ns4.absolight.net.&details=t&afnic=&ns1=ns2.absolight.net.&explain=t>

It works.

Stephane Bortzmeyer <bortzmeyer>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kmkaplan (Posted a comment)
  • -email is unavailable- added by bortzmeyer (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code