{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6747","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6747/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6747/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6747/events","html_url":"https://github.com/joomla/joomla-cms/issues/6747","id":67893182,"number":6747,"title":"Login module redirects to non rewritten url (without alias from menu items)","user":{"login":"markboos","id":5038843,"avatar_url":"https://avatars.githubusercontent.com/u/5038843?v=3","gravatar_id":"","url":"https://api.github.com/users/markboos","html_url":"https://github.com/markboos","followers_url":"https://api.github.com/users/markboos/followers","following_url":"https://api.github.com/users/markboos/following{/other_user}","gists_url":"https://api.github.com/users/markboos/gists{/gist_id}","starred_url":"https://api.github.com/users/markboos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markboos/subscriptions","organizations_url":"https://api.github.com/users/markboos/orgs","repos_url":"https://api.github.com/users/markboos/repos","events_url":"https://api.github.com/users/markboos/events{/privacy}","received_events_url":"https://api.github.com/users/markboos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-12T09:25:36Z","updated_at":"2015-04-13T09:27:25Z","closed_at":null,"body":"#### Steps to reproduce the issue\r\nFresh Joomla 3.4.1 install, \r\nInstall with the blog example: \"Blog English (GB) exampledata\"\r\nAdd new user with test, test\r\nUse URL Rewriting = Yes\r\nRename htaccess.txt to .htaccess\r\nPublish module \"Login Form\", Login Redirection Page = \"About\", Logout Redirection Page = \"Home\"\r\n\r\nGo to homepage, for example http://www.projecten.eu\r\nLogin with test, test\r\nAfter login you are redirected to http://www.projecten.eu/?id=1\r\nWhile you should be redirected to http://www.projecten.eu/about\r\n\r\n#### Expected result\r\nWhen loging in, Redirect to http://www.projecten.eu/about\r\nWhen loging out, Redirect to http://www.projecten.eu/\r\n\r\n\r\n#### Actual result\r\nLogin: Redirect to http://www.projecten.eu/?id=1\r\nLogout: Reditrecto to http://www.projecten.eu/about/9-blog?layout=blog\r\n\r\n#### System information (as much as possible)\r\nJ.3.4.1\r\nOS Linux\r\nPHP 5.4.39\r\nMySQL 5.5.41\r\nCaching Disabled\r\nGZip Disabled\r\n\r\nhtaccess:\r\n                IndexIgnore *\r\n                Options +FollowSymlinks\r\n                Options -Indexes\r\n                RewriteEngine On\r\n                RewriteCond %{QUERY_STRING} base64_encode[^(]*\\([^)]*\\) [OR]\r\n                RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]\r\n                RewriteCond %{QUERY_STRING} GLOBALS(=|\\[|\\%[0-9A-Z]{0,2}) [OR]\r\n                RewriteCond %{QUERY_STRING} _REQUEST(=|\\[|\\%[0-9A-Z]{0,2})\r\n                RewriteRule .* index.php [F]\r\n                RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\r\n                RewriteCond %{REQUEST_URI} !^/index\\.php\r\n                RewriteCond %{REQUEST_FILENAME} !-f\r\n                RewriteCond %{REQUEST_FILENAME} !-d\r\n                RewriteRule .* index.php [L]\r\n\r\n#### Additional comments\r\nThis seems to me since 3.4.0: on other websites i noticed after migration to 3.4.1 that the page urls after login were non rewritten by the login module. While before they were redirected to the rewritten url.\r\n\r\nGo to page http://www.projecten.eu/about\r\nLogin with test, test\r\nNo error now, just the about page as expected.\r\n\r\nFrom the (non-rewritten) logout page http://www.projecten.eu/about/9-blog?layout=blog\r\nLogin with test, test, then the redirect is ok again, but stays non-rewritten\r\nhttp://www.projecten.eu/component/content/article?id=1\r\n\r\nIs the htaccess rewrite code ok ? It seems to do its work only partially from the login module (stripping the \"component/content/article\" part)."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/92289940","html_url":"https://github.com/joomla/joomla-cms/issues/6747#issuecomment-92289940","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6747","id":92289940,"user":{"login":"markboos","id":5038843,"avatar_url":"https://avatars.githubusercontent.com/u/5038843?v=3","gravatar_id":"","url":"https://api.github.com/users/markboos","html_url":"https://github.com/markboos","followers_url":"https://api.github.com/users/markboos/followers","following_url":"https://api.github.com/users/markboos/following{/other_user}","gists_url":"https://api.github.com/users/markboos/gists{/gist_id}","starred_url":"https://api.github.com/users/markboos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markboos/subscriptions","organizations_url":"https://api.github.com/users/markboos/orgs","repos_url":"https://api.github.com/users/markboos/repos","events_url":"https://api.github.com/users/markboos/events{/privacy}","received_events_url":"https://api.github.com/users/markboos/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T09:27:25Z","updated_at":"2015-04-13T09:27:25Z","body":"Tested in staging, and its solved.\nGreat to see things solved before  they are even reported ;)<hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"http://issues.joomla.org/tracker/joomla-cms/6747\">issues.joomla.org/joomla-cms/6747</a>.</sub>"}}