forked from pool/libproxy
14 lines
596 B
Diff
14 lines
596 B
Diff
|
Index: libproxy/proxy.cpp
|
||
|
===================================================================
|
||
|
--- libproxy/proxy.cpp (revision 819)
|
||
|
+++ libproxy/proxy.cpp (working copy)
|
||
|
@@ -268,6 +268,7 @@
|
||
|
if (next == string::npos) next = confign.length();
|
||
|
if (next > (i+1)) {
|
||
|
string ignorestr = confign.substr (i, next - i);
|
||
|
+ ignorestr = ignorestr.substr(ignorestr.find_first_not_of(" \t\n"), ignorestr.find_last_not_of(" \t\n")+1);
|
||
|
for (vector<ignore_extension*>::iterator it=ignores.begin() ; it != ignores.end() && !ignored ; it++)
|
||
|
ignored = ((*it)->ignore(*realurl, ignorestr));
|
||
|
}
|
||
|
|