Skip to content

Current directory check does not work with symbolic links #206

@OuyeXie

Description

@OuyeXie

The line above gets the canonical path of the file and this check will break when "file" is a symbolic link .

My example:

  • file abs: /local/asdf/_env/asdf-swit1na.18021267.375759313.1848829265/static-content/templates/asdf.html.mustache
  • parent abs: /local/asdf/package/local_1/Generic/asdf/asdf-441.0-0/static-content/templates/asdf html.mustache
  • checkRoot abs: /local/asdf/_env/asdf-swit1na.18021267.375759313.1848829265

And under directory: /local/apollo/_env/asdf-swit1na.18021267.375759313.1848829265

  • static-content -> ../../package/local_1/Generic/asdf/asdf-441.0-0/static-content

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions