Apipie / apipie-rails

Ruby on Rails API documentation tool
Apache License 2.0
2.47k stars 461 forks source link

Fix cache rendering with namespaced resources #874

Closed stormsilver closed 1 year ago

stormsilver commented 1 year ago

The path traversal sanitization was incorrectly filtering out paths that included the - character. Namespaced resources generates files like api-v1-resource.html which were then returning a 400.