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

 
 

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

Submitted by:  Stephane Bortzmeyer <bortzmeyer>
Submitted on:  Fri 20 Jul 2012 08:37:25 AM UTC  
 
Category: inputSeverity: Ordinary
Priority: 5 - NormalItem Group: Crash/Error
Status: ConfirmedPrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 20 Jul 2012 10:44:32 AM UTC, comment #3:

Better error message already commited.

http://cvs.savannah.gnu.org/viewvc/zonecheck/zc/param.rb?root=zonecheck&view=log#rev1.116

Kim Minh Kaplan <kmkaplan>
Project Administrator
Fri 20 Jul 2012 10:35:56 AM UTC, comment #2:

OK, but a better error message would be nice.

Stephane Bortzmeyer <bortzmeyer>
Project Administrator
Fri 20 Jul 2012 10:25:46 AM UTC, comment #1:

Apparently ZoneCheck is explicitly limited to two DS. http://cvs.savannah.gnu.org/viewvc/zonecheck/zc/param.rb?annotate=1.116&root=zonecheck#l905

Kim Minh Kaplan <kmkaplan>
Project 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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1