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

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Dec 25 16:40:38 JST 2012


YUKI Hiroshi	2012-12-25 16:40:38 +0900 (Tue, 25 Dec 2012)

  New Revision: 4e8035c6329a2ff51da94453a69869221ad1003d
  https://github.com/groonga/gcs/commit/4e8035c6329a2ff51da94453a69869221ad1003d

  Log:
    Accept only numeric domain id

  Modified files:
    tools/scenario-runner.js

  Modified: tools/scenario-runner.js (+1 -1)
===================================================================
--- tools/scenario-runner.js    2012-12-25 16:35:22 +0900 (6744fcf)
+++ tools/scenario-runner.js    2012-12-25 16:40:38 +0900 (3e2c31b)
@@ -408,7 +408,7 @@ Response.prototype = {
               break;
 
             case 'DomainId':
-              normalized = value.replace(/^.+\//, '%DOMAIN_ID%/');
+              normalized = value.replace(/^\d+\//, '%DOMAIN_ID%/');
               break;
 
             case 'Arn':
-------------- next part --------------
HTML����������������������������...
Download 



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