[ckan-changes] [ckan/ckan] 46b14f: [#1419] Move URL locality checking to helpers

GitHub noreply at github.com
Thu Jun 26 08:04:28 UTC 2014


  Branch: refs/heads/release-v2.2.1
  Home:   https://github.com/ckan/ckan
  Commit: 46b14f409e7856db199d18fef993e6eeb9e5aed5
      https://github.com/ckan/ckan/commit/46b14f409e7856db199d18fef993e6eeb9e5aed5
  Author: Mika Wahlroos <mika.wahlroos at csc.fi>
  Date:   2014-06-26 (Thu, 26 Jun 2014)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#1419] Move URL locality checking to helpers

This allows the function to be also used for similar purposes outside
the user controller.

Also rename the function to be more descriptive in this general
setting.


  Commit: c884448aa22c438979216b30460ce381bd07c5c8
      https://github.com/ckan/ckan/commit/c884448aa22c438979216b30460ce381bd07c5c8
  Author: Mika Wahlroos <mika.wahlroos at csc.fi>
  Date:   2014-06-26 (Thu, 26 Jun 2014)

  Changed paths:
    M ckan/controllers/util.py

  Log Message:
  -----------
  [#1419] Check that redirection target is local


  Commit: 4bd1f1087818b7a293b8baf988ff448845bb7dee
      https://github.com/ckan/ckan/commit/4bd1f1087818b7a293b8baf988ff448845bb7dee
  Author: Mika Wahlroos <mika.wahlroos at csc.fi>
  Date:   2014-06-26 (Thu, 26 Jun 2014)

  Changed paths:
    M ckan/controllers/util.py

  Log Message:
  -----------
  [#1419] Abort with 403 when attempting external redirect


  Commit: 18eaeeae6e4a220b7389dc3900277661860a8b67
      https://github.com/ckan/ckan/commit/18eaeeae6e4a220b7389dc3900277661860a8b67
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-06-26 (Thu, 26 Jun 2014)

  Changed paths:
    M ckan/controllers/util.py
    M ckan/lib/helpers.py
    A ckan/new_tests/controllers/test_util.py

  Log Message:
  -----------
  [#1419] Better status for when no param supplied. Added test.


Compare: https://github.com/ckan/ckan/compare/87a2c3d3c01c...18eaeeae6e4a


More information about the ckan-changes mailing list