{"action":"created","issue":{"url":"https://api.github.com/repos/juliocamarero/liferay-portal/issues/4220","repository_url":"https://api.github.com/repos/juliocamarero/liferay-portal","labels_url":"https://api.github.com/repos/juliocamarero/liferay-portal/issues/4220/labels{/name}","comments_url":"https://api.github.com/repos/juliocamarero/liferay-portal/issues/4220/comments","events_url":"https://api.github.com/repos/juliocamarero/liferay-portal/issues/4220/events","html_url":"https://github.com/juliocamarero/liferay-portal/pull/4220","id":171826836,"number":4220,"title":"[Technical Support] If \"- (hyphen)\" is used in Friendly URL, links of Asset Publisher portlet will be \"Not Found\"","user":{"login":"zxdgoal","id":4162471,"avatar_url":"https://avatars.githubusercontent.com/u/4162471?v=3","gravatar_id":"","url":"https://api.github.com/users/zxdgoal","html_url":"https://github.com/zxdgoal","followers_url":"https://api.github.com/users/zxdgoal/followers","following_url":"https://api.github.com/users/zxdgoal/following{/other_user}","gists_url":"https://api.github.com/users/zxdgoal/gists{/gist_id}","starred_url":"https://api.github.com/users/zxdgoal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxdgoal/subscriptions","organizations_url":"https://api.github.com/users/zxdgoal/orgs","repos_url":"https://api.github.com/users/zxdgoal/repos","events_url":"https://api.github.com/users/zxdgoal/events{/privacy}","received_events_url":"https://api.github.com/users/zxdgoal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-18T06:26:36Z","updated_at":"2016-08-19T08:55:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juliocamarero/liferay-portal/pulls/4220","html_url":"https://github.com/juliocamarero/liferay-portal/pull/4220","diff_url":"https://github.com/juliocamarero/liferay-portal/pull/4220.diff","patch_url":"https://github.com/juliocamarero/liferay-portal/pull/4220.patch"},"body":"Hey Julio\r\n\r\nI found if I input a url containing  \"/-/\" in page url, it won't success and a LayoutFriendlyURLException.KEYWORD_CONFLICT will be returned.\r\n\r\nI think it would be better to be consistent for behaviour of input \"/-/\" and \"/-\" as the later will become the former after appending slash.\r\n\r\nSo,\r\n1. We will not allow \"/-\" as a page URL, and we disallow a URL ending with '/-\".\r\n2. We will throw an exception(It will be caught in JSP and a warning message will be shown to end users), instead of using layoutId as page url.\r\n\r\nLet me know if you have any concerns.\r\n\r\nThanks\r\nJohn."},"comment":{"url":"https://api.github.com/repos/juliocamarero/liferay-portal/issues/comments/240965007","html_url":"https://github.com/juliocamarero/liferay-portal/pull/4220#issuecomment-240965007","issue_url":"https://api.github.com/repos/juliocamarero/liferay-portal/issues/4220","id":240965007,"user":{"login":"juliocamarero","id":203395,"avatar_url":"https://avatars.githubusercontent.com/u/203395?v=3","gravatar_id":"","url":"https://api.github.com/users/juliocamarero","html_url":"https://github.com/juliocamarero","followers_url":"https://api.github.com/users/juliocamarero/followers","following_url":"https://api.github.com/users/juliocamarero/following{/other_user}","gists_url":"https://api.github.com/users/juliocamarero/gists{/gist_id}","starred_url":"https://api.github.com/users/juliocamarero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliocamarero/subscriptions","organizations_url":"https://api.github.com/users/juliocamarero/orgs","repos_url":"https://api.github.com/users/juliocamarero/repos","events_url":"https://api.github.com/users/juliocamarero/events{/privacy}","received_events_url":"https://api.github.com/users/juliocamarero/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T08:55:45Z","updated_at":"2016-08-19T08:55:45Z","body":"Just started reviewing :) <br><br>:octocat: *Sent from [GH](http://nodegh.io).*"}}
{"actor":{"display_login":"juliocamarero"}}