Somewhere in a couple of configuration file changes for SnipSnap, URL rewriting changes on the Apache proxy, and restarts, I ended up with a doubled / in the middle of permalinks for this blog. Since the root URL (http:blog.fivesight.com/prb/) has a trailing slash, the apparent culprit was org.snipsnap.config.AppConfiguration#getURL(String), which simply appends paths like /exec/rss to the root, so I patched the source:public String getUrl(String target) {
String s = getUrl();
if (s != null && s.endsWith("/")
&& target != null && target.startsWith("/"))
{
s = s.substring(0,s.length()-1);
}
return getUrl() + target;
}and things should be back to normal other than people seeing a lot of falsely new posts.