Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3686

Object names with characters outside of the ASCII range are not rejected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0
    • Component/s: Core
    • Labels:
      None

      Description

      It is currently possible to define object names with characters that are outside of the ASCII character set range. This causes the links to them to always be invalid as they contain characters that are not suitably encoded.

      The simple solution to this would be to reject all object names that contain non-ASCII characters and which would require extra processing to format correctly for URL generation. A reasonable requirement would be that the object name could only contain characters from the set of URI unreserved characters. That is, the name would have to match the following PCRE2 pattern:

      ^[A-Za-z0-9_.~-]+$
      

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.