mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: fix regexp
This commit is contained in:
parent
b7d31557ce
commit
2f6dd90b92
@ -139,7 +139,7 @@ hdrfile_location()
|
||||
# $1 - hdr file
|
||||
|
||||
# some DPIs return CRLF line ending
|
||||
tr -d '\015' <"$1" | sed -nre 's/^[L|l][O|o][C|c][A|a][T|t][I|i][O|o][N|n]:[ \t]*([^ \t]*)[ \t]*$/\1/p'
|
||||
tr -d '\015' <"$1" | sed -nre 's/^[Ll][Oo][Cc][Aa][Tt][Ii][Oo][Nn]:[ \t]*([^ \t]*)[ \t]*$/\1/p'
|
||||
}
|
||||
curl_test_http()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user