Hi devs,

Right now when in path-based, if a /wiki/somewiki/ path is found but no wiki 
descriptor is found for alias "somewiki" then we try to split on "." and then 
perform some checks on localhost/IP/www.

I don't think this is right (there's no real logic behind this) and I'm 
proposing to fix this.

Specifically ATM if you have /wiki/enterprise.xwiki.org/space/page then the 
algorithm is going to look first for an alias of "enterprise.xwiki.org" (that's 
good) but if not found, it's going to look for a wikiid descriptor for 
"enterprise" which isn't normal.

Note that I've already implemented this fix locally (in the new URL module) and 
I'm waiting for this decision to commit it.

Barring any negative feedback I'll commit it at the end of the week.

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to