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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

Better error message already commited.

http://cvs.savann ... view=log#rev1.116

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: 

Apparently ZoneCheck is explicitly limited to two DS. http://cvs.savann ... ot=zonecheck#l905

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. ... 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. ... 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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

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

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code