summaryrefslogtreecommitdiff
path: root/url.class
diff options
context:
space:
mode:
Diffstat (limited to 'url.class')
-rw-r--r--url.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/url.class b/url.class
index 575f8ca..bdad756 100644
--- a/url.class
+++ b/url.class
@@ -47,8 +47,8 @@ function it_url($url, $options = array())
if (preg_match('#^([a-z]+):/+(?:([^:]*):([^@]*)@)?(.*)$#i', $url, $regs))
{
$this->protocol = strtolower($regs[1]);
- $this->user = strtolower($regs[2]);
- $this->pass = strtolower($regs[3]);
+ $this->user = $regs[2];
+ $this->pass = $regs[3];
$url = $regs[4];
}
else if (ereg('^[a-z]:', $url) || ereg('^/', $url))