Skip to content

No handler accepted for Heist templates on Windows #202

@seinokatsuhiro

Description

@seinokatsuhiro

On Windows, when Heist templates are in directories like templates\a\b.tpl, I got a response

No handler accepted "/a/b"

Snap.Snaplet.HeistNoClass.serveURI creates \-joined paths (on Windows) using getSafePath.
It seems these paths are not matched with template paths.
Should serveURI return /-joined paths?

(I run the snapframwork with Windows 10, LTS Haskell 11.10, snap-1.1.0.0, snap-core-1.0.3.2 and heist-1.0.1.2.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions