Browse Source

Fixes ZFINC-132 - Yahoo usage of oob as OAuth callback url

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24363 44c647ce-9c0f-0410-b52a-842ac1e357ba
padraic 14 years ago
parent
commit
9fd8368675
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Zend/Oauth/Config.php

+ 1 - 1
library/Zend/Oauth/Config.php

@@ -390,7 +390,7 @@ class Zend_Oauth_Config implements Zend_Oauth_Config_ConfigInterface
      */
     public function setCallbackUrl($url)
     {
-        if (!Zend_Uri::check($url)) {
+        if (!Zend_Uri::check($url) && $url !== 'oob') {
             require_once 'Zend/Oauth/Exception.php';
             throw new Zend_Oauth_Exception(
                 '\'' . $url . '\' is not a valid URI'