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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 - 35 = ?
Subscribe to this entry?

 
 [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: Thu Mar 28 10:01:26 2024 UTC