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

CoreAdminHandler STATUS should display 'normalized' paths

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • None
    • None

    Description

      From the mailing list...

      On Sun, Sep 14, 2008 at 6:45 AM, Koji Sekiguchi  wrote:
      > I'm checking MultiCore/CoreAdmin stuff in branch-1.3 and noticed
      > that /admin/cores?action=STATUS returns weird path info on Windows:
      >
      > <str name="instanceDir">multicore\core0/</str>
      > <str name="dataDir">multicore\core0/data/</str>
      >
      > Backslash and slash characters are mixed in path info. Java client
      > can easily handle these weird path string, but other clients may not.
      > I think we should use file.separator system property
      > before releasing 1.3. Thought?
      
      I think clients should be able to handle mixed path separators - they
      need to be able to handle both anyway, and seeing mixed forward and
      backward slashes in windows isn't that uncommon.  We should fix it to
      be consistent (I like standardized forward slashes myself), but it
      

      Attachments

        1. SOLR-771.patch
          1 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: