okfn/ckan — pull request #19 by tobes (2012-06-07 15:58:40+00:00)
Title: [#2497] when we have a 401 and not logged in keep locale (for 1.7.1)

This stops a bug.

The bug is triggered when the language is non-default we are not logged in and we go to a url that is not allowed (triggers a http 401 error) eg /fr/dataset/new The unpatched code reverts to the default language - this fixes it.

This would be nice to add to 1.7.1 as 1.7 has this bug