diff options
author | David Flatz | 2014-02-17 18:16:12 +0100 |
---|---|---|
committer | David Flatz | 2014-02-17 18:19:49 +0100 |
commit | 2225339ece6ca6bf479abe3b176624fe98c034a2 (patch) | |
tree | 8b21480c00119e80b05b08e4d91148d6d1e87cf2 /it_url.class | |
parent | 31d0ff64befeb9c4777b51f1ca8d621e2d469753 (diff) | |
download | itools-2225339ece6ca6bf479abe3b176624fe98c034a2.tar.gz itools-2225339ece6ca6bf479abe3b176624fe98c034a2.tar.bz2 itools-2225339ece6ca6bf479abe3b176624fe98c034a2.zip |
don't get rid of common index file names in urls, we can't assume server configurations
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/it_url.class b/it_url.class index 2cebc62..d63e332 100644 --- a/it_url.class +++ b/it_url.class @@ -95,9 +95,6 @@ function it_url($url = null, $options = array()) $this->hostname = preg_replace('/^www\./', '', $this->realhostname); - # Get rid of common index file names - $url = preg_replace('#(^|/)(index\.[ps]?html?|index\.php[34]?|default\.aspx?)$#', '', $url); - $this->path = preg_replace('#^/$#', '', $url); if ($this->port != $protoport) |