#49832 [Opn->Fbk]: parse_url won't parse properly a.com:::

From: Date: Sat, 10 Oct 2009 18:06:50 +0000
Subject: #49832 [Opn->Fbk]: parse_url won't parse properly a.com:::
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-143449@lists.php.net to get a copy of this message
 ID:               49832
 Updated by:       Sjoerd@php.net
 Reported By:      marius dot andreiana at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         URL related
 Operating System: Linux
 PHP Version:      5.2.11
 New Comment:

Thank you for your bug report.

Your example URL, "http://a.com:::", does not seem
valid to me. Why do
you think this URL is valid?


Previous Comments:
------------------------------------------------------------------------

[2009-10-10 15:48:29] marius dot andreiana at gmail dot com

Description:
------------
http://a.com::: 
Array ( [scheme] => http [host] => a.com:: )
expected: return false

Reproduce code:
---------------
$url_parts = parse_url("http://a.com:::");
print_r($url_parts); 


Expected result:
----------------
See Description

Actual result:
--------------
See Description


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49832&edit=1



Thread (4 messages)

« previous php.bugs (#143449) next »