bugGNU Wget - Bugs: bug #24347, file://

 
 

bug #24347: file://

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Mon 22 Sep 2008 05:18:20 PM UTC  
 
Category: Feature RequestSeverity: 2 - Minor
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: NoneOperating System: None
Reproducibility: NoneFixed Release: None
Planned Release: 1.15Regression: None
Work Required: 1 - DaysPatch Included: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 22 Jul 2009 09:09:56 PM UTC, comment #2:

I'd suggest allowing file:// by default, but not allowing recursion to fetch a file:// URI, whether the source page comes from http:// or file:// or something else. wget could then have a --force-file-recursion or similar, if anyone cared. Bonus if wget can allow file links but only to files under the same prefix as the original file.

But even the basic support for file:// with no recursion allowed would still prove useful, albeit not for the use case described in the linked mail.

Anonymous
Mon 22 Sep 2008 05:28:23 PM UTC, comment #1:

Support for this may introduce security issues, care is needed.

For instance, file:// should never be respected when it comes from the web. Even on local machine, it could be problematic to use it on files writable by other users (as they can then craft links to download privileged files with upgraded permissions). Perhaps files that are only readable for root should always be skipped, or wget should require a "--force" sort of option if the current mode can result in more permissive settings on the downloaded file.

For such reasons, perhaps it would be wise to make this a configurable option. It might also be prudent to enable an option for file:// to be disallowed for root.

Micah Cowan <micahcowan>
Project Administrator
Mon 22 Sep 2008 05:18:20 PM UTC, original submission:

http://article.gmane.org/gmane.comp.web.wget.general/5907/match=file+scheme

Micah Cowan <micahcowan>
Project Administrator

 

(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 micahcowan (Submitted the item)
  •  

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup