Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1162 - 1164 of 2152)

Ticket Resolution Summary Owner Reporter
#147 duplicate Parser and loader for esw.org data dread dread
#148 fixed Parser and loader for esw.org data dread dread

Reported by dread, 5 years ago.

Description
  • parse like data4nr code

Follow up tickets: ticket:149 and ticket:150

#1312 invalid Particular characters in JSON cause exception creating package on API dread florian.marienfeld@…

Reported by florian.marienfeld@…, 3 years ago.

Description

From Florian:

I am having trouble with the characters "=&;".
if they occur e.g. in the title of a package, I get a 400-Bad-Request
when I try to register a package by POSTing to ckan/rest/api/package

However, when I PUT the same package as an edit to
ckan/rest/api/package/existing_package, it works and the title shows
correctly on the front end and API.

Reproduced

(pyenv-ckan)dread@dread-laptop:~/hgroot/ckan$ curl -i http://localhost:5000/api/rest/package -d '{"name": "test3", "title": "Test &"}' -H "Authorization:tester" 
HTTP/1.0 400 Bad Request
Server: PasteWSGIServer/0.5 Python/2.6.5
Date: Tue, 06 Sep 2011 14:09:31 GMT
Pragma: no-cache
Cache-Control: no-cache
Content-Type: application/json;charset=utf-8
Content-Length: 87

"Bad request - JSON Error: Unterminated string starting at: line 1 column 27 (char 27)"
Note: See TracQuery for help on using queries.