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:
f765f54
)
zoom: fix http:// check
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 30 Nov 2012 17:50:03 +0000
(17:50 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 30 Nov 2012 17:50:03 +0000
(17:50 +0000)
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
d2ffb67
..
6a25157
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-1424,7
+1424,7
@@
yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
if (sptr->sru.length())
{
b->set_option("sru", sptr->sru);
- if (url.find_first_of("://") == std::string::npos)
+ if (url.find("://") == std::string::npos)
url = "http://" + url;
if (sptr->sru_version.length())
b->set_option("sru_version", sptr->sru_version);