{"action":"opened","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/657","labels_url":"https://api.github.com/repos/grails/grails-core/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/657/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/657/events","html_url":"https://github.com/grails/grails-core/issues/657","id":69740006,"number":657,"title":"createLink doesn't respect UrlMappings in 2.4.5/2.5.0, but works fine in 2.4.4!","user":{"login":"bxqgit","id":3815929,"avatar_url":"https://avatars.githubusercontent.com/u/3815929?v=3","gravatar_id":"","url":"https://api.github.com/users/bxqgit","html_url":"https://github.com/bxqgit","followers_url":"https://api.github.com/users/bxqgit/followers","following_url":"https://api.github.com/users/bxqgit/following{/other_user}","gists_url":"https://api.github.com/users/bxqgit/gists{/gist_id}","starred_url":"https://api.github.com/users/bxqgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bxqgit/subscriptions","organizations_url":"https://api.github.com/users/bxqgit/orgs","repos_url":"https://api.github.com/users/bxqgit/repos","events_url":"https://api.github.com/users/bxqgit/events{/privacy}","received_events_url":"https://api.github.com/users/bxqgit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-21T04:24:22Z","updated_at":"2015-04-21T04:24:22Z","closed_at":null,"body":"Say we have this in UrlMappings :\r\n\r\n```groovy\r\nstatic mappings = {\r\n  \"/foo/$text\"(controller: \"book\", action: \"read\")\r\n}\r\n\r\n```\r\nAnd in bookRead.gsp:\r\n\r\n```groovy\r\n${createLink(controller: \"book\", action: \"read\")}\r\n```\r\n\r\nIn 2.4.4, createLink will generate: \"/foo\", which is expected and is ok\r\nBut in 2.4.5/2.5.0, createLink will generate: \"/book/read\", which causes error!\r\n\r\nI had to downgrade production app to 2.4.4 cause of that, please fix asap!\r\n"}}