projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CQL to PQF tests with anchoring
[yaz-moved-to-github.git]
/
src
/
uri.c
diff --git
a/src/uri.c
b/src/uri.c
index
6db68e5
..
1ebb530
100644
(file)
--- a/
src/uri.c
+++ b/
src/uri.c
@@
-132,7
+132,7
@@
int yaz_uri_to_array(const char *path, ODR o, char ***name, char ***val)
{
cp++;
no++;
- while (*cp != '=')
+ while (*cp && *cp != '=' && *cp != '&')
{
/* check that x-form names looks sane */
if (*cp <= ' ' || *cp >= 127)