Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60782

Incorrect use of path.Join to join filepaths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • None
    • storage-engine
    • Windows 64-bit
    • 0
    • Unknown

    Description

      There are numerous places like saveMetadata(), loadMetadata(), etc where path.Join is used instead of filepath.Join for filepaths. path.Join can be inaccurate in case of Windows.

      filepath.Join makes use of OS specific separators which should be used.

       

      Upgrade impact is yet to be evaluated.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jinesh.parakh Jinesh Parakh
            jinesh.parakh Jinesh Parakh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty