stretchr / goweb

A lightweight RESTful web framework for Go
632 stars 61 forks source link

MapStatic without trailing slash (in address) delivers indexfiles that link to root (pic 1). With slash in address = ok (pic 2). #55

Open RubenN opened 11 years ago

RubenN commented 11 years ago

1 2

matryer commented 11 years ago

Can you share your code please? (Or a sample)

On 30 Sep 2013, at 23:46, Ruben notifications@github.com wrote:

— Reply to this email directly or view it on GitHub.

RubenN commented 11 years ago

It's the included example_webapp. go version 1.1.1 on Windows 8

Op dinsdag 1 oktober 2013 schreef Mat Ryer (notifications@github.com):

Can you share your code please? (Or a sample)

On 30 Sep 2013, at 23:46, Ruben <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>> wrote:

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/stretchr/goweb/issues/55#issuecomment-25445041 .

matryer commented 10 years ago

To prove this bug, please submit a test (that fails) in a PR, and we can set about fixing it. https://github.com/stretchr/goweb/wiki/Development-practices