diff options
author | Christian Helbling | 2016-05-19 18:01:58 +0200 |
---|---|---|
committer | Christian Helbling | 2016-05-19 18:01:58 +0200 |
commit | 2bb032b36bd7314c7cf478805dec4f30e5624496 (patch) | |
tree | cfe7f050c28817133d9377f8c7988137c4111ef4 /it_url.class | |
parent | bcc7b2610d8f0b6bf012a2086b46896fdf5bf7bd (diff) | |
download | itools-2bb032b36bd7314c7cf478805dec4f30e5624496.tar.gz itools-2bb032b36bd7314c7cf478805dec4f30e5624496.tar.bz2 itools-2bb032b36bd7314c7cf478805dec4f30e5624496.zip |
fix .req debug param: did not work on urls staring with // and .req-tel matched all subrequests
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index b760e0d..33ceb7b 100644 --- a/it_url.class +++ b/it_url.class @@ -109,7 +109,7 @@ function get($p=null, $timeout=5) $p = array('url' => $p, 'timeout' => $timeout); $p += array('retries' => 1); - if (($filter = EDC('req')) && strstr($p['url'], it::replace(array('1' => ":"), $filter))) + if (($filter = EDC('req')) && ($filter == 1 || strstr($p['url'], "/$filter."))) ED($p['url']); if ($this instanceof it_url) |