rfc:ommit-double-slash-in-user-stream-wrapper-uri

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:ommit-double-slash-in-user-stream-wrapper-uri [2017/01/26 09:44] brzuchalrfc:ommit-double-slash-in-user-stream-wrapper-uri [2021/03/27 14:59] (current) – Move to inactive ilutov
Line 3: Line 3:
   * Date: 2017-01-23   * Date: 2017-01-23
   * Author: Michał Brzuchalski <michal.brzuchalski@gmail.com>   * Author: Michał Brzuchalski <michal.brzuchalski@gmail.com>
-  * Status: Draft+  * Status: Inactive
   * First Published at: http://wiki.php.net/rfc/ommit-double-slash-in-user-stream-wrapper-uri   * First Published at: http://wiki.php.net/rfc/ommit-double-slash-in-user-stream-wrapper-uri
  
Line 15: Line 15:
 > URI. > URI.
  
-However it is not currently possible to declare user-defined Stream Wrapper and register valid protocol which could handle generic URI's. Currently there is requirement of ''%%://%%'' after protocol name when protocol name from URL detection is called.+However it is not currently possible to declare user-defined Stream Wrapper and register valid protocol which could handle generic URI's. Currently there is requirement for authority portion ''%%://%%'' after protocol name when protocol name from URL detection is called.
  
 ===== Proposal ===== ===== Proposal =====
-This RFC proposes to add new flag ''STREAM_IS_URI'' to use with [[http://pl1.php.net/manual/en/function.stream-wrapper-register.php|stream_wrapper_register]] in a third parameter.+This RFC proposes to add new flag ''STREAM_IS_URI'' to use with [[http://pl1.php.net/manual/en/function.stream-wrapper-register.php|stream_wrapper_register]] in a third parameter.
  
-Passing new flag allows user defined Stream Wrapper class based on [[http://pl1.php.net/manual/en/class.streamwrapper.php|streamWrapper prototype]] to handle URI in their general syntax consisting of ''<scheme>'' and ''<scheme-specific-part>'' whose interpretation depends on the scheme.+Passing the new flag allows user defined Stream Wrapper class based on [[http://pl1.php.net/manual/en/class.streamwrapper.php|streamWrapper prototype]] to handle URI in their general syntax consisting of ''<scheme>'' and ''<scheme-specific-part>'' whose interpretation depends on the scheme.
  
 ===== Examples ===== ===== Examples =====
Line 46: Line 46:
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
-No backward incompatible changes, when the additional flag is missing all handled paths are checked in case of double slash existence after the colon.+No backward incompatible changes, when the additional flag is missing all handled paths are checked in case of double slash existence after the colon which behaves exactly the same way as currently.
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
-next PHP 7.x+next PHP 7.x or PHP 8.0
  
 ===== RFC Impact ===== ===== RFC Impact =====
rfc/ommit-double-slash-in-user-stream-wrapper-uri.1485423846.txt.gz · Last modified: 2017/09/22 13:28 (external edit)