ckan / ckan/ckanapi

dataset search: query with white space

Open
#200 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
212
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Hi,
I would like to emulate this browser query ([`fq=maintainer:Comune\%20di\%20Arezzo`](https://bit.ly/3M7J1r0)) in the shell.

It works in the browser, but if I run

```
ckanapi -r https://dati.gov.it/opendata/ search datasets fq='(maintainer:"Comune\ di\ Arezzo")'
```

I have `504` error. What's wrong in my command?

Strangely the same query works via action:

```
ckanapi -r https://dati.gov.it/opendata/ action package_search fq='(maintainer:"Comune\ di\ Arezzo")'
```

Thank you

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.