Skip to content

function ring.util.response/file-response doesn't work with opt. :root like "C:\\" in Windows  #457

@dima0905

Description

@dima0905

I try to resolve and foundout that .getCanonicalPath has strange behavior:
useful-stuff.multitool> (.getCanonicalPath (File. "c:"))
"C:\Users\Intel"
useful-stuff.multitool> (.getCanonicalPath (File. "c:/"))
"C:\"
useful-stuff.multitool> (.getCanonicalPath (File. "c:\"))
"C:\"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions