File tree 2 files changed +3
-3
lines changed
Controller/Adminhtml/FastlyCdn/Edge
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function execute()
95
95
try {
96
96
$ activeVersion = $ this ->getRequest ()->getParam ('active_version ' );
97
97
$ activateVcl = $ this ->getRequest ()->getParam ('activate_flag ' );
98
- $ aclName = $ this ->getRequest ()->getParam ('acl_name ' );
98
+ $ aclName = str_replace ( ' ' , ' _ ' , $ this ->getRequest ()->getParam ('acl_name ' ) );
99
99
$ service = $ this ->api ->checkServiceDetails ();
100
100
$ this ->vcl ->checkCurrentVersionActive ($ service ->versions , $ activeVersion );
101
101
$ currActiveVersion = $ this ->vcl ->getCurrentVersion ($ service ->versions );
@@ -107,7 +107,7 @@ public function execute()
107
107
if (!$ createAcl ) {
108
108
return $ result ->setData ([
109
109
'status ' => false ,
110
- 'msg ' => 'Failed to create Acl container. '
110
+ 'msg ' => 'Failed to create ACL container. '
111
111
]);
112
112
}
113
113
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function execute()
95
95
try {
96
96
$ activeVersion = $ this ->getRequest ()->getParam ('active_version ' );
97
97
$ activateVcl = $ this ->getRequest ()->getParam ('activate_flag ' );
98
- $ dictionaryName = $ this ->getRequest ()->getParam ('dictionary_name ' );
98
+ $ dictionaryName = str_replace ( ' ' , ' _ ' , $ this ->getRequest ()->getParam ('dictionary_name ' ) );
99
99
$ service = $ this ->api ->checkServiceDetails ();
100
100
$ this ->vcl ->checkCurrentVersionActive ($ service ->versions , $ activeVersion );
101
101
$ currActiveVersion = $ this ->vcl ->getCurrentVersion ($ service ->versions );
You can’t perform that action at this time.
0 commit comments