Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2038 - 2040 of 2152)

Ticket Resolution Summary Owner Reporter
#1043 fixed stop sqlalchemy message saying at least one scoped seession already present kindly

Reported by kindly, 3 years ago.

Description

see summary.

#1049 invalid Fix database errors on offener.datenkatalog.at etc. dread

Reported by dread, 3 years ago.

Description

We're getting these sorts of exceptions from http://offener.datenkatalog.at/ like we had from ckan.net, which was due to small errors in migration scripts. Is it worth fixing this database, and in fact all the ckans on eu3 at once?

WebApp Error: <class 'sqlalchemy.exceptions.IntegrityError'>: (IntegrityError) duplicate key value violates unique constraint "group_revision_pkey" 'INSERT INTO group_revision (id, name, title, description, created, state, revision_id, continuity_id) VALUES (%(id)s, %(name)s, %(title)s, %(description)s, %(created)s, %(state)s, %(revision_id)s, ...

Thoughts James and Rufus?

#1057 fixed JSONP parameter isn't escaped dread

Reported by dread, 3 years ago.

Description
$ curl "http://127.0.0.1:5000/api/rest/package/annakarenina?callback=<script>jsoncallback"

gives:

<script>jsoncallback({"id": "c10ebd31-5b45-4f6f-885d-dca9b18caec4", "name": "annakarenina", "title": "A Novel By Tolstoy",

which could run script code in the client who made the call.

One idea for filtering: http://tav.espians.com/sanitising-jsonp-callback-identifiers-for-security.html Maybe just better to have a restricted whitelist of characters to be even more sure.

Same as: https://trac.dataco.coi.gov.uk/projects/datagov/ticket/906

Note: See TracQuery for help on using queries.