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

 
 

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

Submitter:  Sonna Bakana <anonymousx>
Submitted:  Mon 28 Jul 2014 03:39:00 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  None Operating System:  Microsoft Windows
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  None
Work Required:  None Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-16 gscrivano StatusNone Need Info
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code