Bug 903424
| Summary: | wget rewrites URL in form action to point to a local file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | igor.redhat <igor.redhat> |
| Component: | wget | Assignee: | Tomáš Hozza <thozza> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 18 | CC: | igor, karsten, micah, thozza |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 693026 | Environment: | |
| Last Closed: | 2013-04-25 09:02:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
igor.redhat@gmail.com
2013-01-24 00:10:56 UTC
(In reply to comment #0) > Steps to Reproduce: > > $ echo "<form action="wget1.asp.html" method="post"/>" > wget.html > $ python -m SimpleHTTPServer > > then try to download the file: > $ wget -P. -k http://localhost:8000/wget.asp.html There will be *NO* "wget.asp.html" since you've created "wget.html". > You'll see that the URL in the form's action gets converted: > $ cat wget.asp.html > <form action="http://localhost:8000/wget1.asp.html" method="post"/> > > Now, change that URL to be the same as the page name, e.g., > > $ echo "<form action="wget.asp.html" method="post"/>" > wget.html > $ python -m SimpleHTTPServer > > and try downloading it again with the same wget command. You'll see that the > URL is now rewritten to point to a local file: > > $ wget -P. -k http://localhost:8000/wget.asp.html > $ $ cat wget.asp.html.1 > <form action="wget.asp.html.1" method="post"/> Please correct your steps to reproduce. There are some errors and I'm not able to reproduce your issue. Then try your steps on the *CURRENT VERSION* of wget in Fedora 18. > Expected results: > > The form action URL should be rewritten into an absolute URL consistently. From how I understand what you are describing, this is normal behaviour when using the "-k" wget option. > I've already submitted this upstream and attached a proposed patch there but > it would be nice to get this fixed in Fedora as there hasn't been much > response there: http://savannah.gnu.org/bugs/?32587 Since this would be a change in behaviour, I not going to apply patch in Fedora before Upstream accepts it. Due to lack of response and information I'm closing this Bug as INSUFFICIENT_DATA. |