bugGNU Wget - Bugs: bug #32587, wget rewrites URL in form action...

 
 

bug #32587: wget rewrites URL in form action to local file

Submitted by:  None
Submitted on:  Wed 23 Feb 2011 11:43:14 PM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Igor SlepchinOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.12
Operating System: NoneReproducibility: Every Time
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: Yes

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 23 Feb 2011 11:43:14 PM UTC, original submission:

this only happens when the form action URL is the same as the URL of the web page containing the form. For example,

<form action="question.asp" method="post" ...

will be changed to

<form action="question.asp.html" method="post" ...

If the web page's URL is something like http://example.com/question.asp

This happens because convert_links_in_hashtable()in convert.c knows that question.asp itself was downloaded and rewrites the action url to point to the local file.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #22769:  wget-form-action.patch added by None (1KiB - application/octet-stream - patch that marks urls found in form action and then ignores them when checking for local files)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Feb 2011 11:45:59 PM UTCNoneAttached File-=>Added wget-form-action.patch, #22769

    Back to the top


    Powered by Savane 3.1-cleanup1