ID: 20308 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open -Bug Type: URL related +Bug Type: Feature/Change Request Operating System: SunOS PHP Version: 4.2.2 New Comment:
PHP does not parse out those parts of the mailto url; re-opening as a feature request. Previous Comments: ------------------------------------------------------------------------ [2002-11-08 03:59:26] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-11-08 03:56:29] [EMAIL PROTECTED] parse_url('mailto:Otto.Stolz@;uni-konstanz.de') yields: array( ['scheme'] => 'mailto' ['path'] => '[EMAIL PROTECTED]' ) According to <http://www.zvon.org/tmRFC/RFC2368/Output/chapter2.html> and <http://www.zvon.org/tmRFC/RFC2822/Output/chapter3.html#sub4>, it should rather yield: array( ['scheme'] => 'mailto' ['host'] => 'uni-konstanz.de' ['user'] => 'Otto.Stolz' ) A test page can be found at <http://www.rz.uni-konstanz.de/Antivirus/tests/parse_url.php>, the pertinent PHP source at <http://www.rz.uni-konstanz.de/Antivirus/tests/parse_url.txt>. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20308&edit=1
