diff options
author | Christian Weber | 2007-04-05 14:53:37 +0000 |
---|---|---|
committer | Christian Weber | 2007-04-05 14:53:37 +0000 |
commit | 37808eebe0626ae577d7db05afcf5e6536b1ea0f (patch) | |
tree | 0a3759ec02d8e39b9d5868d0a5ab9ceaf83a4ead | |
parent | 2099d5ec525e4806f91ec0b62be78692251b5d09 (diff) | |
download | itools-37808eebe0626ae577d7db05afcf5e6536b1ea0f.tar.gz itools-37808eebe0626ae577d7db05afcf5e6536b1ea0f.tar.bz2 itools-37808eebe0626ae577d7db05afcf5e6536b1ea0f.zip |
don't lowercase username and password
-rw-r--r-- | url.class | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |