-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource_extras.html does not support non-ascii resource names #5785
Comments
It's worth noting this may be a problem elsewhere too. |
smotornyuk
added a commit
that referenced
this issue
Feb 2, 2021
Zharktas
added a commit
that referenced
this issue
Feb 3, 2021
[#5785] Solve encoding error by simplifying changes templates
amercader
pushed a commit
that referenced
this issue
Feb 4, 2021
espona
added a commit
to EnviDat/ckan-forked
that referenced
this issue
Feb 27, 2021
Merge commit '1b6d91790cfa668a6226f366b91dde68ae5d84b9' into 2.9 * commit '1b6d91790cfa668a6226f366b91dde68ae5d84b9': (76 commits) Update version number for 2.9.2 Changelog for 2.9.2 Coding standards Remove 2.9 changelog fragments Frontend build [i18n] Compile mo files [i18n] Update po files from transifex pytest-ckan support on py2/py3 pep8 [ckan#5670] pep8 [ckan#5670] Add test [ckan#5670] Return content-type header on downloads if mimetype is present [ckan#5785] Solve encoding error by simplifying changes templates Add towncrierr fragment Reduce line length Format with black PEP8 Add API Token CLI commands [ckan#5751] Persist attributes in chained functions Allow list for functions in datastore_search_sql ... # Conflicts: # ckan/views/group.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CKAN version
2.9.1 - python2
Describe the bug
/snippets/changes/resource_extras.html
was not correctly handling resource nameschange.resource_name
having non-ascii characters and then being placed within astr.format()
Steps to reproduce
Côte d'Ivoire Inputs UNAIDS Estimates 2021
Activity Stream
of the datasetChanges
button under one of the itemsStack Trace
🔴 The error is with
change.resource_name
being unicode and being used within astr.format()
Additional details
<a>
tag using a jinja2 macro rather thanstr.format()
to allow jinja2 to correctly encode thechange.resource_name
The text was updated successfully, but these errors were encountered: