projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab213a
)
zoom: IP auth use field "ipRanges" rather than "ip" MP-551
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 4 Jun 2014 10:31:09 +0000
(12:31 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 4 Jun 2014 10:31:16 +0000
(12:31 +0200)
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
db3719a
..
69a25b8
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-2640,7
+2640,7
@@
void yf::Zoom::Frontend::auth(mp::Package &package, Z_InitRequest *req,
}
else
{
- torus_query = "ip encloses/net.ipaddress \"";
+ torus_query = "ipRanges encloses/net.ipaddress \"";
torus_query += escape_cql_term(std::string(ip));
torus_query += "\"";
failure_code = YAZ_BIB1_INIT_AC_BLOCKED_NETWORK_ADDRESS;