alexrabarts/big_sitemap — Issue #26: Paths are truncated to the last element
Author: csshsh
Created: 2011-11-15 19:33:56+00:00
State: open

If I do something like:

add '/about/privacy'

In the site map it shows up as this url:

http://example.com/privacy

This seems due to this code in big_sitemap.rb:

url = File.join @options[:base_url], File.basename(path)

How come you are using File.basename with the path?