[Groonga-commit] groonga/gcs [master] Accept only numeric domain id in "arn"

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Dec 25 16:42:20 JST 2012


YUKI Hiroshi	2012-12-25 16:42:20 +0900 (Tue, 25 Dec 2012)

  New Revision: de748963f27c33cf2a8d5f93b7d9f0680ad81e06
  https://github.com/groonga/gcs/commit/de748963f27c33cf2a8d5f93b7d9f0680ad81e06

  Log:
    Accept only numeric domain id in "arn"

  Modified files:
    tools/scenario-runner.js

  Modified: tools/scenario-runner.js (+1 -1)
===================================================================
--- tools/scenario-runner.js    2012-12-25 16:40:38 +0900 (3e2c31b)
+++ tools/scenario-runner.js    2012-12-25 16:42:20 +0900 (2635edf)
@@ -412,7 +412,7 @@ Response.prototype = {
               break;
 
             case 'Arn':
-              normalized = value.replace(/^(arn:aws:cs:us-east-1:)[^:]+(:[^\/]+\/[^\/]+)$/, '$1%DOMAIN_ID%$2');
+              normalized = value.replace(/^(arn:aws:cs:us-east-1:)[^:]+(:\d+\/[^\/]+)$/, '$1%DOMAIN_ID%$2');
               break;
 
             case 'Endpoint':
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index