php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36678 Use of URL like about:config in streams
Submitted: 2006-03-10 13:09 UTC Modified: 2016-12-30 23:39 UTC
Votes:2
Avg. Score:2.0 ± 1.0
Reproduced:0 of 1 (0.0%)
From: david dot rivron at free dot fr Assigned:
Status: Open Package: Streams related
PHP Version: 5.1.2 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-03-10 13:09 UTC] david dot rivron at free dot fr
Description:
------------
A stream can only be referenced as <scheme>://<target> so URL like "about:config" can not be used. Yet, according to the RFC 3986, the double slash should only appear if what follows is a hiearchical structure (see bug #32535).

I have read in the compression streams documentation that this is not allowed to prevent ambiguities with filenames containing ':'.
I suggest to reverse this behavior : allowing URL such as about:config and setting a limitation in local files access. Users can easily take off the ambiguities by using "./foo:bar" instead of "foo:bar".


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:39 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Streams related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC