File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ 2.4.11
1
2
- Features
2
3
- Bindings: EndPointReference.selector_names() for Python
3
4
- Bugfixes
5
+ - URI parsing: Disallow comma to separate selectors in resource uri,
6
+ only ampersand is allowed. (issue #38)
4
7
- Bindings: Fix Ruby doc generation
5
8
6
9
2.4.10
Original file line number Diff line number Diff line change @@ -218,19 +218,23 @@ hash_t *u_parse_query(const char *query)
218
218
dbg_err_if (key == NULL );
219
219
220
220
val = strchr (key , '=' );
221
- dbg_err_if (val == NULL );
221
+ if (val == NULL ) {
222
+ warn ("Missing '=' character in query: %s" , tok );
223
+ goto err ;
224
+ }
222
225
223
226
/* zero-term the name part and set the value pointer */
224
227
* val ++ = 0 ;
225
228
val = u_strdup (val );
229
+ dbg_err_if (val == NULL );
226
230
227
231
u_trim (key );
228
232
u_trim (val );
229
233
u_trim_quotes (val );
230
234
if (u_string_unify (key ) || u_string_unify (val )) {
231
235
u_free (key );
232
236
u_free (val );
233
- dbg ("Could not unify query: %s" , tok );
237
+ warn ("Could not unify %%nn sequences in query: %s" , tok );
234
238
continue ;
235
239
}
236
240
if (!hash_lookup (h , key )) {
You can’t perform that action at this time.
0 commit comments