2117cbac79
If the destination_path matches the index_file but the original path does not (as can happen with proxied resources) then directory_indexes will add the index file a second time, e.g. resource.path = "myres.html" and resource.destination_path = "myres/index.html" then directory_indexes will convert this to resource.destination_path = "myres/index/index.html". This patch fixes that by making directory_indexes check the destination_path when determining whether to reroute. |
||
---|---|---|
.. | ||
middleman-more | ||
middleman-more.rb | ||
middleman_extension.rb |