{"action":"opened","number":433,"pull_request":{"url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/433","id":189667599,"html_url":"https://github.com/epfl-idevelop/jahia2wp/pull/433","diff_url":"https://github.com/epfl-idevelop/jahia2wp/pull/433.diff","patch_url":"https://github.com/epfl-idevelop/jahia2wp/pull/433.patch","issue_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/433","number":433,"state":"open","locked":false,"title":"Handle URL redirect for \"remote_content\" shortcode","user":{"login":"LuluTchab","id":11942430,"avatar_url":"https://avatars1.githubusercontent.com/u/11942430?v=4","gravatar_id":"","url":"https://api.github.com/users/LuluTchab","html_url":"https://github.com/LuluTchab","followers_url":"https://api.github.com/users/LuluTchab/followers","following_url":"https://api.github.com/users/LuluTchab/following{/other_user}","gists_url":"https://api.github.com/users/LuluTchab/gists{/gist_id}","starred_url":"https://api.github.com/users/LuluTchab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuluTchab/subscriptions","organizations_url":"https://api.github.com/users/LuluTchab/orgs","repos_url":"https://api.github.com/users/LuluTchab/repos","events_url":"https://api.github.com/users/LuluTchab/events{/privacy}","received_events_url":"https://api.github.com/users/LuluTchab/received_events","type":"User","site_admin":false},"body":"**From issue**: WWP-636\r\n\r\n**High level changes:**\r\n\r\n1. Le shortcode `remote_content` ne gère pas le fait que l'URL demandée soit redirigée... pour le site \"gonczy-lab\", l'URL demandée était en HTTP et finalement on était redirigé en HTTPS... et du coup, le shortcode n'affichait rien...\r\n\r\n**Low level changes:**\r\n\r\n1. Ajout d'une fonction dans `Utils` pour renvoyer la \"vraie\" URL vers laquelle on est redirigé (ça permet aussi potentiellement de s'affranchir des URL qui vont expirer). Et c'est cette URL (vers laquelle on est redirigé) qui est prise pour être mise en paramètre dans le shortcode\r\n1. Détail mais j'ai signalé le problème à l'éditeur du plugin (https://wordpress.org/support/topic/handle-http-to-https-redirect-and-other-redirect/)\r\n\r\n**Targetted version**: x.x.x\r\n","created_at":"2018-05-22T13:43:17Z","updated_at":"2018-05-22T13:43:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/433/commits","review_comments_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/433/comments","review_comment_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/433/comments","statuses_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/statuses/caf9975a3a9af8626dd4dbaf109466282437f575","head":{"label":"epfl-idevelop:wwp-636-handle-https-redirect-for-included-content","ref":"wwp-636-handle-https-redirect-for-included-content","sha":"caf9975a3a9af8626dd4dbaf109466282437f575","user":{"login":"epfl-idevelop","id":24317326,"avatar_url":"https://avatars2.githubusercontent.com/u/24317326?v=4","gravatar_id":"","url":"https://api.github.com/users/epfl-idevelop","html_url":"https://github.com/epfl-idevelop","followers_url":"https://api.github.com/users/epfl-idevelop/followers","following_url":"https://api.github.com/users/epfl-idevelop/following{/other_user}","gists_url":"https://api.github.com/users/epfl-idevelop/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-idevelop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-idevelop/subscriptions","organizations_url":"https://api.github.com/users/epfl-idevelop/orgs","repos_url":"https://api.github.com/users/epfl-idevelop/repos","events_url":"https://api.github.com/users/epfl-idevelop/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-idevelop/received_events","type":"Organization","site_admin":false},"repo":{"id":103224993,"name":"jahia2wp","full_name":"epfl-idevelop/jahia2wp","owner":{"login":"epfl-idevelop","id":24317326,"avatar_url":"https://avatars2.githubusercontent.com/u/24317326?v=4","gravatar_id":"","url":"https://api.github.com/users/epfl-idevelop","html_url":"https://github.com/epfl-idevelop","followers_url":"https://api.github.com/users/epfl-idevelop/followers","following_url":"https://api.github.com/users/epfl-idevelop/following{/other_user}","gists_url":"https://api.github.com/users/epfl-idevelop/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-idevelop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-idevelop/subscriptions","organizations_url":"https://api.github.com/users/epfl-idevelop/orgs","repos_url":"https://api.github.com/users/epfl-idevelop/repos","events_url":"https://api.github.com/users/epfl-idevelop/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-idevelop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epfl-idevelop/jahia2wp","description":"Migrate your site from Jahia to WordPress","fork":false,"url":"https://api.github.com/repos/epfl-idevelop/jahia2wp","forks_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/forks","keys_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/teams","hooks_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/hooks","issue_events_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/events{/number}","events_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/events","assignees_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/assignees{/user}","branches_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/branches{/branch}","tags_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/tags","blobs_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/refs{/sha}","trees_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/statuses/{sha}","languages_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/languages","stargazers_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/stargazers","contributors_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/contributors","subscribers_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/subscribers","subscription_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/subscription","commits_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/commits{/sha}","git_commits_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/commits{/sha}","comments_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/comments{/number}","issue_comment_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/comments{/number}","contents_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/contents/{+path}","compare_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/merges","archive_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/downloads","issues_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues{/number}","pulls_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls{/number}","milestones_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/milestones{/number}","notifications_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/labels{/name}","releases_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/releases{/id}","deployments_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/deployments","created_at":"2017-09-12T05:10:33Z","updated_at":"2018-05-17T10:49:46Z","pushed_at":"2018-05-22T13:35:56Z","git_url":"git://github.com/epfl-idevelop/jahia2wp.git","ssh_url":"git@github.com:epfl-idevelop/jahia2wp.git","clone_url":"https://github.com/epfl-idevelop/jahia2wp.git","svn_url":"https://github.com/epfl-idevelop/jahia2wp","homepage":"http://jahia2wp.readthedocs.io","size":16838,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":7,"open_issues":19,"watchers":6,"default_branch":"master"}},"base":{"label":"epfl-idevelop:release","ref":"release","sha":"039080f963a6a759c6ea39d27a1e677a2ba4388d","user":{"login":"epfl-idevelop","id":24317326,"avatar_url":"https://avatars2.githubusercontent.com/u/24317326?v=4","gravatar_id":"","url":"https://api.github.com/users/epfl-idevelop","html_url":"https://github.com/epfl-idevelop","followers_url":"https://api.github.com/users/epfl-idevelop/followers","following_url":"https://api.github.com/users/epfl-idevelop/following{/other_user}","gists_url":"https://api.github.com/users/epfl-idevelop/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-idevelop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-idevelop/subscriptions","organizations_url":"https://api.github.com/users/epfl-idevelop/orgs","repos_url":"https://api.github.com/users/epfl-idevelop/repos","events_url":"https://api.github.com/users/epfl-idevelop/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-idevelop/received_events","type":"Organization","site_admin":false},"repo":{"id":103224993,"name":"jahia2wp","full_name":"epfl-idevelop/jahia2wp","owner":{"login":"epfl-idevelop","id":24317326,"avatar_url":"https://avatars2.githubusercontent.com/u/24317326?v=4","gravatar_id":"","url":"https://api.github.com/users/epfl-idevelop","html_url":"https://github.com/epfl-idevelop","followers_url":"https://api.github.com/users/epfl-idevelop/followers","following_url":"https://api.github.com/users/epfl-idevelop/following{/other_user}","gists_url":"https://api.github.com/users/epfl-idevelop/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-idevelop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-idevelop/subscriptions","organizations_url":"https://api.github.com/users/epfl-idevelop/orgs","repos_url":"https://api.github.com/users/epfl-idevelop/repos","events_url":"https://api.github.com/users/epfl-idevelop/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-idevelop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epfl-idevelop/jahia2wp","description":"Migrate your site from Jahia to WordPress","fork":false,"url":"https://api.github.com/repos/epfl-idevelop/jahia2wp","forks_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/forks","keys_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/teams","hooks_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/hooks","issue_events_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/events{/number}","events_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/events","assignees_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/assignees{/user}","branches_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/branches{/branch}","tags_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/tags","blobs_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/refs{/sha}","trees_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/statuses/{sha}","languages_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/languages","stargazers_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/stargazers","contributors_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/contributors","subscribers_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/subscribers","subscription_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/subscription","commits_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/commits{/sha}","git_commits_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/git/commits{/sha}","comments_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/comments{/number}","issue_comment_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/comments{/number}","contents_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/contents/{+path}","compare_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/merges","archive_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/downloads","issues_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues{/number}","pulls_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls{/number}","milestones_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/milestones{/number}","notifications_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/labels{/name}","releases_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/releases{/id}","deployments_url":"https://api.github.com/repos/epfl-idevelop/jahia2wp/deployments","created_at":"2017-09-12T05:10:33Z","updated_at":"2018-05-17T10:49:46Z","pushed_at":"2018-05-22T13:35:56Z","git_url":"git://github.com/epfl-idevelop/jahia2wp.git","ssh_url":"git@github.com:epfl-idevelop/jahia2wp.git","clone_url":"https://github.com/epfl-idevelop/jahia2wp.git","svn_url":"https://github.com/epfl-idevelop/jahia2wp","homepage":"http://jahia2wp.readthedocs.io","size":16838,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":7,"open_issues":19,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/433"},"html":{"href":"https://github.com/epfl-idevelop/jahia2wp/pull/433"},"issue":{"href":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/433"},"comments":{"href":"https://api.github.com/repos/epfl-idevelop/jahia2wp/issues/433/comments"},"review_comments":{"href":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/433/comments"},"review_comment":{"href":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/epfl-idevelop/jahia2wp/pulls/433/commits"},"statuses":{"href":"https://api.github.com/repos/epfl-idevelop/jahia2wp/statuses/caf9975a3a9af8626dd4dbaf109466282437f575"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":34,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"LuluTchab"}}