bugGNU Wget - Bugs: bug #42857, Wget fail to POST extremely long...

 
 

bug #42857: Wget fail to POST extremely long query (post-file)

Submitted by:  Sonna Bakana <anonymousx>
Submitted on:  Mon 28 Jul 2014 03:39:00 AM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Need Info
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: NoneOperating System: Microsoft Windows
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 16 Nov 2014 05:11:22 PM UTC, comment #2:

missing reproducer. Closing it for now, please reopen if the issue happens again.

Giuseppe Scrivano <gscrivano>
Project Administrator
Mon 01 Sep 2014 07:39:35 AM UTC, comment #1:

Hi,

Thanks for your bug report. However, I just tried to POST a file, 99,597 bytes large to http://www.example.com and it worked without any issues. I am not sure why Wget failed for you, but I'm assuming that it might just be the server's fault.

Any ways, I'd be happy to diagnose your problem further, if you simply send us a copy of the debug output produced by Wget in the cases you've mentioned in your report. The debug output can be generated by adding the --debug switch to the existing command line you were using.

Darshit Shah <darnir>
Project Administrator
Mon 28 Jul 2014 03:39:00 AM UTC, original submission:

wget.exe --tries=1 --no-check-certificate --user-agent="XXX" --post-file="X:/Something/to/Post(*1)"
--output-document="X:/result/goes/here" "https://aiai/aiai/ai.php"

*1 contains 1 line:
a=XX&b=yy&c=wrgwr&file=XXXXXXXXXXXXXXXXXXXXXX(...)XXXXXXXXXXXXXXXXXXX

If the file(*1) contains extremely long length (mine is 15537 or above), wget fail to post it.
If the file has 1866 length, wget can POST it.

Result (Trying to post 15537):
(If "--no-check-certificate" was used)

> ...connected.
> WARNING: Cannot verify XXX: Self-signed cert encountered.
> Giving up.

(If "--ca-certificate=XXXX.pem" was used)

> ...connected.
> Giving up.


Result (Trying to post 1866 length)
(If "--no-check-certificate" was used)
saved. (success)
(If "-ca-certificate=XXXX.pem" was used)
saved. (success)

Expected Result:
I want wget to post extremely long POST query using "post-file".
Since my query is too long, I can't use "post-data".

Versin: 1.15

Sonna Bakana <anonymousx>

 

(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 gscrivano (Posted a comment)
  • -unavailable- added by darnir (Posted a comment)
  • -unavailable- added by anonymousx (Submitted the item)
  •  

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

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 16 Nov 2014 05:11:22 PM UTCgscrivanoStatusNone=>Need Info
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup