[ckan-changes] [ckan/ckan] 32c115: [#1419] Move URL locality checking to helpers

GitHub noreply at github.com
Fri Mar 28 15:22:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 32c1153a8c6ce06baa59ab4508ff780e7a82946b
      https://github.com/ckan/ckan/commit/32c1153a8c6ce06baa59ab4508ff780e7a82946b
  Author: Mika Wahlroos <mika.wahlroos at csc.fi>
  Date:   2014-03-25 (Tue, 25 Mar 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: 6c99806708194447d69fc4f4d16bc70340055f66
      https://github.com/ckan/ckan/commit/6c99806708194447d69fc4f4d16bc70340055f66
  Author: Mika Wahlroos <mika.wahlroos at csc.fi>
  Date:   2014-03-25 (Tue, 25 Mar 2014)

  Changed paths:
    M ckan/controllers/util.py

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


  Commit: 43d42dede2a376b0d65afb850b49065708d4f257
      https://github.com/ckan/ckan/commit/43d42dede2a376b0d65afb850b49065708d4f257
  Author: Mika Wahlroos <mika.wahlroos at csc.fi>
  Date:   2014-03-27 (Thu, 27 Mar 2014)

  Changed paths:
    M ckan/controllers/util.py

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


  Commit: 92b5fea9a5c7c54367bac4fc55fa6338a18f6e81
      https://github.com/ckan/ckan/commit/92b5fea9a5c7c54367bac4fc55fa6338a18f6e81
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-03-28 (Fri, 28 Mar 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.


  Commit: a97c90bfc5f134391c2dc3a8ee39ad24185a6abb
      https://github.com/ckan/ckan/commit/a97c90bfc5f134391c2dc3a8ee39ad24185a6abb
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-03-28 (Fri, 28 Mar 2014)

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

  Log Message:
  -----------
  Merge branch 'pr/1613'


Compare: https://github.com/ckan/ckan/compare/7587c6e8fe49...a97c90bfc5f1


More information about the ckan-changes mailing list