{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/13","id":46985976,"html_url":"https://github.com/shotgunsoftware/tk-framework-adminui/pull/13","diff_url":"https://github.com/shotgunsoftware/tk-framework-adminui/pull/13.diff","patch_url":"https://github.com/shotgunsoftware/tk-framework-adminui/pull/13.patch","issue_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/13","number":13,"state":"open","locked":false,"title":"#29763 Sanitize input to UTF-8 before passing to setup project wizard","user":{"login":"kporangehat","id":3391,"avatar_url":"https://avatars.githubusercontent.com/u/3391?v=3","gravatar_id":"","url":"https://api.github.com/users/kporangehat","html_url":"https://github.com/kporangehat","followers_url":"https://api.github.com/users/kporangehat/followers","following_url":"https://api.github.com/users/kporangehat/following{/other_user}","gists_url":"https://api.github.com/users/kporangehat/gists{/gist_id}","starred_url":"https://api.github.com/users/kporangehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kporangehat/subscriptions","organizations_url":"https://api.github.com/users/kporangehat/orgs","repos_url":"https://api.github.com/users/kporangehat/repos","events_url":"https://api.github.com/users/kporangehat/events{/privacy}","received_events_url":"https://api.github.com/users/kporangehat/received_events","type":"User","site_admin":false},"body":"By default PyQT/PySide handles text values as unicode. Toolkit expects that any text-like objects are string objects (encoded to UTF-8). When passing these values to the setup project wizard in the Toolkit core, unicode can potentially cause issues.\r\n\r\nFor example, the `config/core/pipeline_configuration.yml` file stores the project name entered during the project setup process with `!!python/unicode` prepended. This can then propagate issues further inside Toolkit. \r\n\r\nBy sanitizing the input before passing it along, we ensure that we don't have these issues.","created_at":"2015-10-07T04:26:33Z","updated_at":"2015-10-07T04:26:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/13/commits","review_comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/13/comments","review_comment_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/13/comments","statuses_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/statuses/80e1e9c7351f003f56199d9127fd0953a1959c83","head":{"label":"shotgunsoftware:29763_utf8_input","ref":"29763_utf8_input","sha":"80e1e9c7351f003f56199d9127fd0953a1959c83","user":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":21256111,"name":"tk-framework-adminui","full_name":"shotgunsoftware/tk-framework-adminui","owner":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shotgunsoftware/tk-framework-adminui","description":"A framework that provides GUIs for administrative commands.","fork":false,"url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui","forks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/forks","keys_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/teams","hooks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/hooks","issue_events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/events{/number}","events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/events","assignees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/assignees{/user}","branches_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/branches{/branch}","tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/tags","blobs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/refs{/sha}","trees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/statuses/{sha}","languages_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/languages","stargazers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/stargazers","contributors_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/contributors","subscribers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/subscribers","subscription_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/subscription","commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/commits{/sha}","git_commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/commits{/sha}","comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/comments{/number}","issue_comment_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/comments{/number}","contents_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/contents/{+path}","compare_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/merges","archive_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/downloads","issues_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues{/number}","pulls_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls{/number}","milestones_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/milestones{/number}","notifications_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/labels{/name}","releases_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/releases{/id}","created_at":"2014-06-26T21:48:11Z","updated_at":"2015-08-04T01:42:12Z","pushed_at":"2015-10-07T04:26:33Z","git_url":"git://github.com/shotgunsoftware/tk-framework-adminui.git","ssh_url":"git@github.com:shotgunsoftware/tk-framework-adminui.git","clone_url":"https://github.com/shotgunsoftware/tk-framework-adminui.git","svn_url":"https://github.com/shotgunsoftware/tk-framework-adminui","homepage":null,"size":6372,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"shotgunsoftware:master","ref":"master","sha":"15f8eb636b44da2e335a72d19b43adf845ff56f8","user":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":21256111,"name":"tk-framework-adminui","full_name":"shotgunsoftware/tk-framework-adminui","owner":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shotgunsoftware/tk-framework-adminui","description":"A framework that provides GUIs for administrative commands.","fork":false,"url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui","forks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/forks","keys_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/teams","hooks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/hooks","issue_events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/events{/number}","events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/events","assignees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/assignees{/user}","branches_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/branches{/branch}","tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/tags","blobs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/refs{/sha}","trees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/statuses/{sha}","languages_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/languages","stargazers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/stargazers","contributors_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/contributors","subscribers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/subscribers","subscription_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/subscription","commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/commits{/sha}","git_commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/git/commits{/sha}","comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/comments{/number}","issue_comment_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/comments{/number}","contents_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/contents/{+path}","compare_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/merges","archive_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/downloads","issues_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues{/number}","pulls_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls{/number}","milestones_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/milestones{/number}","notifications_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/labels{/name}","releases_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/releases{/id}","created_at":"2014-06-26T21:48:11Z","updated_at":"2015-08-04T01:42:12Z","pushed_at":"2015-10-07T04:26:33Z","git_url":"git://github.com/shotgunsoftware/tk-framework-adminui.git","ssh_url":"git@github.com:shotgunsoftware/tk-framework-adminui.git","clone_url":"https://github.com/shotgunsoftware/tk-framework-adminui.git","svn_url":"https://github.com/shotgunsoftware/tk-framework-adminui","homepage":null,"size":6372,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/13"},"html":{"href":"https://github.com/shotgunsoftware/tk-framework-adminui/pull/13"},"issue":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/13"},"comments":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-adminui/statuses/80e1e9c7351f003f56199d9127fd0953a1959c83"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":10,"changed_files":6}}