Ver código fonte

fix regexp

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16116 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas 16 anos atrás
pai
commit
cefa187036
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      library/Zend/Service/Amazon/S3.php

+ 1 - 1
library/Zend/Service/Amazon/S3.php

@@ -126,7 +126,7 @@ class Zend_Service_Amazon_S3 extends Zend_Service_Amazon_Abstract
             throw new Zend_Service_Amazon_S3_Exception("Bucket name \"$bucket\" contains invalid characters");
             throw new Zend_Service_Amazon_S3_Exception("Bucket name \"$bucket\" contains invalid characters");
         }
         }
 
 
-        if (preg_match('/(\d+).(\d+).(\d+).(\d+)/', $bucket)) {
+        if (preg_match('/(\d+)\.(\d+)\.(\d+)\.(\d+)/', $bucket)) {
             /**
             /**
              * @see Zend_Service_Amazon_S3_Exception
              * @see Zend_Service_Amazon_S3_Exception
              */
              */