[ckan-changes] [ckan/ckan] e5848c: [#4872] Remove _external query param on Pylons gen...

Adrià Mercader noreply at github.com
Wed Jun 26 13:02:50 UTC 2019


  Branch: refs/heads/4872-remove-extra-external-parameter
  Home:   https://github.com/ckan/ckan
  Commit: e5848c2f68d58075d898f584565ca2e49a13f762
      https://github.com/ckan/ckan/commit/e5848c2f68d58075d898f584565ca2e49a13f762
  Author: amercader <amercadero at gmail.com>
  Date:   2019-06-26 (Wed, 26 Jun 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  [#4872] Remove _external query param on Pylons generated URLs

Fixes #4872

The url_for wrapper for Pylons requests correctly handles Flask's
`_external` parameter to generate fully qualified URLs, but fails
to remove it, resulting in an extraneous param added to the URL,
 eg: http://example.com/dataset/test?_external=True




More information about the ckan-changes mailing list