Skip to content

Remove user id from redirect to dashboard after logging in.#2227

Merged
wardi merged 1 commit intockan:masterfrom
opendatazurich:remove-userid-from-dashboard-redirect
Jun 22, 2015
Merged

Remove user id from redirect to dashboard after logging in.#2227
wardi merged 1 commit intockan:masterfrom
opendatazurich:remove-userid-from-dashboard-redirect

Conversation

@bellisk
Copy link
Copy Markdown
Contributor

@bellisk bellisk commented Jan 19, 2015

After logging in to CKAN, the user is redirected to their own dashboard, with a url like this: myckaninstance.org/dashboard?no_cache=True&id=admin. This involves sending the user ID as a GET parameter, which was pointed out in a penetration test as a potential security issue.

The user ID is not necessary to render user/dashboard.html, so I have removed it from the redirect.

@ghost
Copy link
Copy Markdown

ghost commented Jan 21, 2015

I've given this a test and checked it through. Looks good to merge.

wardi added a commit that referenced this pull request Jun 22, 2015
…oard-redirect

Remove user id from redirect to dashboard after logging in.
@wardi wardi merged commit 692ad5c into ckan:master Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants