Activity

The XWikiServletRequestStub could respond to getContextPath with the proper value initialized when creating it

the ExternalServletURLFactory in mailsender plugin could actually be created based on a clone (or even actual object ?) of the context factory, instead of initializing it again. It would beed a new constructor like ExternalServletURLFactory(XWikiServletURLFactory).

Jerome Velociter
added a comment - 26/Nov/11 19:12 I see two things that could be fixed :
The XWikiServletRequestStub could respond to getContextPath with the proper value initialized when creating it
the ExternalServletURLFactory in mailsender plugin could actually be created based on a clone (or even actual object ?) of the context factory, instead of initializing it again. It would beed a new constructor like ExternalServletURLFactory(XWikiServletURLFactory).
WDYT ?