Skip to content

Commit 51df77f

Browse files
author
Oleksandr Iegorov
committed
AC-904: PHP Error instead of 404/getting redirected when accessing any directory in <root>/catalog/product/compare/
1 parent 03bf215 commit 51df77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/Router/ActionList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ActionList
2727
/**
2828
* Not allowed string in route's action path to avoid disclosing admin url
2929
*/
30-
const NOT_ALLOWED_IN_NAMESPACE_PATH = 'adminhtml';
30+
public const NOT_ALLOWED_IN_NAMESPACE_PATH = 'adminhtml';
3131

3232
/**
3333
* List of application actions

0 commit comments

Comments
 (0)