summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorChristian Schneider2020-04-21 16:36:08 +0200
committerChristian Schneider2020-04-21 16:36:08 +0200
commitf8908f2c1e8637fe68bdd6fe7c20d5a7c6ba9118 (patch)
treecf6436bcd72eaf7ccc687b0c47b8a422b27d4d46 /it_url.class
parent7e04a37ea0d3989a4347f41ff0e5ea81ac3981d5 (diff)
downloaditools-f8908f2c1e8637fe68bdd6fe7c20d5a7c6ba9118.tar.gz
itools-f8908f2c1e8637fe68bdd6fe7c20d5a7c6ba9118.tar.bz2
itools-f8908f2c1e8637fe68bdd6fe7c20d5a7c6ba9118.zip
Add translated csv to white-list as map users //tel/result.csv with LU()
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 0ab4e34..7150910 100644
--- a/it_url.class
+++ b/it_url.class
@@ -162,7 +162,7 @@ function parse_http_header($header)
static function _default_headers($url, $p)
{
- if ((!it::is_devel() || EDC('subreqcheck')) && $p['url'] && T_lang() != T_defaultlang() && it::match('search\.ch/', $p['url']) && !it::match('\blogin\.|banner\.html|/itjs/|/images/|\.(de|fr|en|it)(\.js|\.html|\.php|\.ics|\.pdf|\.json)|machines\.txt', $p['url']))
+ if ((!it::is_devel() || EDC('subreqcheck')) && $p['url'] && T_lang() != T_defaultlang() && it::match('search\.ch/', $p['url']) && !it::match('\blogin\.|banner\.html|/itjs/|/images/|\.(de|fr|en|it)(\.js|\.html|\.php|\.ics|\.pdf|\.json|\.csv)|machines\.txt', $p['url']))
it::error(['title' => "Subrequest without language override", 'body' => [ $p ]]);
$headers = [