{"action":"closed","issue":{"url":"https://api.github.com/repos/divio/django-cms/issues/3952","labels_url":"https://api.github.com/repos/divio/django-cms/issues/3952/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/3952/comments","events_url":"https://api.github.com/repos/divio/django-cms/issues/3952/events","html_url":"https://github.com/divio/django-cms/issues/3952","id":62063773,"number":3952,"title":"Incorrect admin URL can cause a Python error","user":{"login":"evildmp","id":86222,"avatar_url":"https://avatars.githubusercontent.com/u/86222?v=3","gravatar_id":"","url":"https://api.github.com/users/evildmp","html_url":"https://github.com/evildmp","followers_url":"https://api.github.com/users/evildmp/followers","following_url":"https://api.github.com/users/evildmp/following{/other_user}","gists_url":"https://api.github.com/users/evildmp/gists{/gist_id}","starred_url":"https://api.github.com/users/evildmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evildmp/subscriptions","organizations_url":"https://api.github.com/users/evildmp/orgs","repos_url":"https://api.github.com/users/evildmp/repos","events_url":"https://api.github.com/users/evildmp/events{/privacy}","received_events_url":"https://api.github.com/users/evildmp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/divio/django-cms/labels/has%20patch","name":"has patch","color":"fad8c7"},{"url":"https://api.github.com/repos/divio/django-cms/labels/kind:%20bug","name":"kind: bug","color":"c7def8"},{"url":"https://api.github.com/repos/divio/django-cms/labels/status:%20accepted","name":"status: accepted","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/divio/django-cms/milestones/31","html_url":"https://github.com/divio/django-cms/milestones/3.0.13","labels_url":"https://api.github.com/repos/divio/django-cms/milestones/31/labels","id":1005966,"number":31,"title":"3.0.13","description":"","creator":{"login":"mkoistinen","id":615759,"avatar_url":"https://avatars.githubusercontent.com/u/615759?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoistinen","html_url":"https://github.com/mkoistinen","followers_url":"https://api.github.com/users/mkoistinen/followers","following_url":"https://api.github.com/users/mkoistinen/following{/other_user}","gists_url":"https://api.github.com/users/mkoistinen/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoistinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoistinen/subscriptions","organizations_url":"https://api.github.com/users/mkoistinen/orgs","repos_url":"https://api.github.com/users/mkoistinen/repos","events_url":"https://api.github.com/users/mkoistinen/events{/privacy}","received_events_url":"https://api.github.com/users/mkoistinen/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":11,"state":"open","created_at":"2015-03-04T15:57:20Z","updated_at":"2015-04-04T12:41:54Z","due_on":"2015-03-21T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-03-16T12:28:04Z","updated_at":"2015-04-04T12:41:54Z","closed_at":"2015-04-04T12:41:54Z","body":"Try to reach a non-existent admin page, say http://localhost:8000/en/admin/cms/page/23/edit-plugin/408/ - you'll get a 404, as expected.\r\n\r\nTry (say) http://localhost:8000/en/admin/cms/page/23/edit-plugin/408/edit-plugin/407/, and you'll get:\r\n\r\n```\r\nValueError at /en/admin/cms/page/23/edit-plugin/408/edit-plugin/407/\r\ninvalid literal for int() with base 10: '408/edit-plugin/407'\r\n```\r\n\r\nI think that this should also return a 404."}}