Bug 127280 - [libfetch] [patch] fetch/libfetch RFC 1738 %2F escaped slash handling
Summary: [libfetch] [patch] fetch/libfetch RFC 1738 %2F escaped slash handling
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dag-Erling Smørgrav
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2008-09-10 22:00 UTC by Matt Koivisto
Modified: 2022-10-17 12:39 UTC (History)
2 users (show)

See Also:


Attachments
file.txt (1.39 KB, text/plain)
2008-09-10 22:00 UTC, Matt Koivisto
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Koivisto 2008-09-10 22:00:09 UTC
RFC 1738 specifies:

> ...the URL <URL:ftp://myname@host.dom/%2Fetc/motd> is interpreted by FTP-ing to
> "host.dom", logging in as "myname" (prompting for a password if it is asked
> for), and then executing "CWD /etc" and then "RETR motd". This has a different
> meaning from <URL:ftp://myname@host.dom/etc/motd> which would "CWD etc" and
> then "RETR motd"; the initial "CWD" might be executed relative to the default
> directory for "myname".

As a first step to fixing bin/83277, enable handling of "%2F" escaped slash in fetch and libfetch.

This patch is agaist HEAD.

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-09-11 03:46:39 UTC
Responsible Changed
From-To: freebsd-bugs->des

Over to maintainer.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:38 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 ari 2022-02-18 06:23:44 UTC
If anyone works on these, note there is a possibly related encoding issue in https://github.com/freebsd/poudriere/issues/976
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:39:35 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>