{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/5741","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5741/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5741/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5741/events","html_url":"https://github.com/joomla/joomla-cms/pull/5741","id":54469997,"number":5741,"title":"Fix max_execution_timeout exception for large documents in sef.php","user":{"login":"hordijk","id":4454086,"avatar_url":"https://avatars.githubusercontent.com/u/4454086?v=3","gravatar_id":"","url":"https://api.github.com/users/hordijk","html_url":"https://github.com/hordijk","followers_url":"https://api.github.com/users/hordijk/followers","following_url":"https://api.github.com/users/hordijk/following{/other_user}","gists_url":"https://api.github.com/users/hordijk/gists{/gist_id}","starred_url":"https://api.github.com/users/hordijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hordijk/subscriptions","organizations_url":"https://api.github.com/users/hordijk/orgs","repos_url":"https://api.github.com/users/hordijk/repos","events_url":"https://api.github.com/users/hordijk/events{/privacy}","received_events_url":"https://api.github.com/users/hordijk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-15T16:28:19Z","updated_at":"2015-05-25T18:42:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/5741","html_url":"https://github.com/joomla/joomla-cms/pull/5741","diff_url":"https://github.com/joomla/joomla-cms/pull/5741.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/5741.patch"},"body":"Changed the reqex for all unknown protocols.\r\n\r\nRemoved the + character for the whitespace to solve a max_execution_timeout exception.\r\nIf you have a large output document (for example 1 mb) the regex '#\\s+(src|href|poster)=\"(?!/|' . $protocols . '|\\#|\\')([^\"]*)\"#m' takes way to long. Supporting only one \\s will do the trick as well. The result will be additional spaces between attributes, but this shouldn't harm."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/105287124","html_url":"https://github.com/joomla/joomla-cms/pull/5741#issuecomment-105287124","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5741","id":105287124,"user":{"login":"nueckman","id":984044,"avatar_url":"https://avatars.githubusercontent.com/u/984044?v=3","gravatar_id":"","url":"https://api.github.com/users/nueckman","html_url":"https://github.com/nueckman","followers_url":"https://api.github.com/users/nueckman/followers","following_url":"https://api.github.com/users/nueckman/following{/other_user}","gists_url":"https://api.github.com/users/nueckman/gists{/gist_id}","starred_url":"https://api.github.com/users/nueckman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nueckman/subscriptions","organizations_url":"https://api.github.com/users/nueckman/orgs","repos_url":"https://api.github.com/users/nueckman/repos","events_url":"https://api.github.com/users/nueckman/events{/privacy}","received_events_url":"https://api.github.com/users/nueckman/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T18:42:16Z","updated_at":"2015-05-25T18:42:16Z","body":"@brianteeman You don't need to get a time out. Just compare the execution time."}}