Paths are truncated to the last element #26

csshsh opened this Issue Nov 15, 2011 · 1 comment


None yet
2 participants

csshsh commented Nov 15, 2011

If I do something like:

add '/about/privacy'

In the site map it shows up as this url:

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?

gerbdla commented Jan 10, 2012

I think we need to remove File.basename(path) and replace with just path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment