Uploaded image for project: 'CommandBox'
  1. COMMANDBOX-709

Dot-prefixed relative file paths containing only file name not resolving correctly

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Server Integration
    • Labels:
      None

      Description

      Ref: https://groups.google.com/a/ortussolutions.com/forum/#!msg/commandbox/b8miFR7IaJ0/OrmFXjOuCAAJ

      I have confirmed that this is an issue when running CommandBox on Linux and Unix. Relative paths containing a dot prefix are not being resolved correctly.

      Example:

      "web" : {
      	"rewrites" : {
      		"enable" : true,
      		"config" : ".htaccess"
      	}
      }
      

      The following workaround, however will resolve correctly:

      "web" : {
      	"rewrites" : {
      		"enable" : true,
      		"config" : "./.htaccess"
      	}
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                JClausen Jon Clausen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: