6 Sep
2005
6 Sep
'05
8:42 p.m.
Shouldn't the velocity macro $xwiki.getRequestUrl() return a url thats been passed through a URLFactory? I'm having a issue with the editrights.vm page creating a redirect that goes to the wrong place. If I'm correct on this, then should it be com.xpn.xwiki.api.XWiki that passes it through the URLFactory, or should com.xpn.xwiki.XWiki do it, i.e. does changing it in the impl class cause any side effects, e.g. in Utils.prepareContext() or XWikiHibernateStore? Matt