3rd-Eden / versions

Versions, A small module for creating a flexible CDN application
204 stars 13 forks source link

Comparison to allow urls without extension always failed #22

Closed eboskma closed 11 years ago

eboskma commented 11 years ago

When the option 'force extensions' was set to false, the comparison in #allows always returned false, so it always returned a 404. The tests didn't reflect this, because it was not properly nested.

3rd-Eden commented 11 years ago

Good catch, thanks for pull request. I'll push out a new release this afternoon.