{"action":"created","issue":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/1364","labels_url":"https://api.github.com/repos/rundeck/rundeck/issues/1364/labels{/name}","comments_url":"https://api.github.com/repos/rundeck/rundeck/issues/1364/comments","events_url":"https://api.github.com/repos/rundeck/rundeck/issues/1364/events","html_url":"https://github.com/rundeck/rundeck/issues/1364","id":97894616,"number":1364,"title":"HTML envcoding breaks regexes and Allowed Values URL for","user":{"login":"richiereynolds","id":7738460,"avatar_url":"https://avatars.githubusercontent.com/u/7738460?v=3","gravatar_id":"","url":"https://api.github.com/users/richiereynolds","html_url":"https://github.com/richiereynolds","followers_url":"https://api.github.com/users/richiereynolds/followers","following_url":"https://api.github.com/users/richiereynolds/following{/other_user}","gists_url":"https://api.github.com/users/richiereynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/richiereynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richiereynolds/subscriptions","organizations_url":"https://api.github.com/users/richiereynolds/orgs","repos_url":"https://api.github.com/users/richiereynolds/repos","events_url":"https://api.github.com/users/richiereynolds/events{/privacy}","received_events_url":"https://api.github.com/users/richiereynolds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-29T09:26:43Z","updated_at":"2015-07-31T15:07:03Z","closed_at":"2015-07-31T15:07:02Z","body":"Hi, RD 2.4.1\r\n\r\nIf I add a Remote URL for an allowed values list of e.g.\r\nhttp://localhost:1080/tprundeck/getResourceNames.jsp?project=${job.project}&type=region\r\nthat works fine.\r\nIf I then go back in to edit that job it appears as\r\nhttp://localhost:1080/tprundeck/getResourceNames.jsp?project=${job.project}&amp;amp;type=region\r\nNote the html encoding. If i change, say just the localhost part to a new hostname this then becomes:\r\nhttp://server:1080/tprundeck/getResourceNames.jsp?project=${job.project}&amp;amp;amp;type=region\r\nWhich no longer works.\r\nWhen these are displayed they should not have the html encoded characters in there.\r\n\r\nOption Restriction Regexes have the same issue, if I enter a complex regex, when I go to re-edit the job it appears html encoded which is then impossible to decipher, I want to see the regex I actually entered.\r\nThis is made even harder by another issue where if an optional option is not filled in then a literal ${option.optionName} is passed rather then an empty string so regexes have to cope with that. I think that's been raised previously though."},"comment":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/comments/126720560","html_url":"https://github.com/rundeck/rundeck/issues/1364#issuecomment-126720560","issue_url":"https://api.github.com/repos/rundeck/rundeck/issues/1364","id":126720560,"user":{"login":"richiereynolds","id":7738460,"avatar_url":"https://avatars.githubusercontent.com/u/7738460?v=3","gravatar_id":"","url":"https://api.github.com/users/richiereynolds","html_url":"https://github.com/richiereynolds","followers_url":"https://api.github.com/users/richiereynolds/followers","following_url":"https://api.github.com/users/richiereynolds/following{/other_user}","gists_url":"https://api.github.com/users/richiereynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/richiereynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richiereynolds/subscriptions","organizations_url":"https://api.github.com/users/richiereynolds/orgs","repos_url":"https://api.github.com/users/richiereynolds/repos","events_url":"https://api.github.com/users/richiereynolds/events{/privacy}","received_events_url":"https://api.github.com/users/richiereynolds/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T15:07:02Z","updated_at":"2015-07-31T15:07:02Z","body":"Thanks, have upgraded to 2.5.2."}}