summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weber2007-04-05 14:53:37 +0000
committerChristian Weber2007-04-05 14:53:37 +0000
commit37808eebe0626ae577d7db05afcf5e6536b1ea0f (patch)
tree0a3759ec02d8e39b9d5868d0a5ab9ceaf83a4ead
parent2099d5ec525e4806f91ec0b62be78692251b5d09 (diff)
downloaditools-37808eebe0626ae577d7db05afcf5e6536b1ea0f.tar.gz
itools-37808eebe0626ae577d7db05afcf5e6536b1ea0f.tar.bz2
itools-37808eebe0626ae577d7db05afcf5e6536b1ea0f.zip
don't lowercase username and password
-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))