Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No handler accepted for Heist templates on Windows #202

Open
seinokatsuhiro opened this issue May 23, 2018 · 1 comment
Open

No handler accepted for Heist templates on Windows #202

seinokatsuhiro opened this issue May 23, 2018 · 1 comment

Comments

@seinokatsuhiro
Copy link

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.)

@mightybyte
Copy link
Member

I'm not quite sure what the right solution is here. My default assumption would be that using getSafePath is the right thing and that the problem lies somewhere else. We do want to support Windows, but I don't have a Windows machine and don't know anyone else who does, so I'm going to need more help to get this issue fixed. A fully self contained repo or gist that reproduces the problem would help, and once we get to a solution I'll need help from you testing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants