Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-428

Restrict valid RequestHandler names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.3
    • None
    • None
    • None

    Description

      In SOLR-350, we added support for multiple cores. To access each core, you send a request to:
      http://host:port/context/@core0/handlerpath - uses core0
      http://host:port/context/@core1/handlerpath - uses core1

      This is fine unless a hander is registered to the a name that starts with '@'

      I think we should make a rule that the 1st character has to be a letter or digit. This will give us room to treat other leading punctuation as a key token.

      Perhaps it is not fair to add this restriction after 1.2, but it is (hopefully) a rare case so not a big deal. I guess we could add a configurable flag to not check this condition...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryantxu Ryan McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: