Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-26800

Documentation bug about leading slashes in content selector path queries

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None

    Description

      The documentation for content selectors at https://help.sonatype.com/repomanager3/system-configuration/access-control/content-selectors state that the path part of the expression always has to contain (or match) the leading slash too. But from my experiments this is not true. path =^ "org/" seems to work just the same as path =^ "/org/", or path =~ "org/.*" just like path =~ "/org/.*".

      (Btw. the examples also include a superfluous start-of-input anchor for the regex examples. It is useless as anyway a matches is done, not a find, so start and end of string are matched implicitly already anyway, those examples just erroneously give the impression a find would be used actually)

      Attachments

        Activity

          People

            Unassigned Unassigned
            vampire Björn Kautler
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              tigCommentSecurity.panel-title