stretchr / goweb

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

Remove the query string from the path's extension if one exists. Fixes #75 #79

Closed nemosupremo closed 10 years ago

nemosupremo commented 10 years ago

Removes the query string from the path's extension.

nemosupremo commented 10 years ago

Added a test now.

matryer commented 10 years ago

There was a bug in this, the arguments were the wrong way round in strings.Index. TDD would have caught this problem since the test didn't actually pass, and TDD means you see a failure that you then make pass.

Fix coming soon.