-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Progress: ready for groomingReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Description
Summary
In the Magento enterprise module Webrestriction, at etc/webrestrictions.xsd can be found the pattern:
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z_]+" />
</xs:restriction>
Is there any reason for not accepting numbers?
I see that in the past similar flexibility was added on other modules, for example the ImportExport.
See #4470
Can we have a similar change applied on Webrestriction module (Enterprise)?
Examples
In my extension I defined actions path as follows:
<action path="pitbulk_saml2_account_forcelogin" type="generic"/>
so I receive the error:
etc/webrestrictions.xml Element 'action', attribute 'path': [facet 'pattern'] The value 'pitbulk_saml2_account_forcelogin' is not accepted by the pattern '[a-zA-Z_]+'.
Proposed solution
Change the pattern:
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z0-9_]+" />
</xs:restriction>
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Progress: ready for groomingReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Type
Projects
Status
No status