[Fwd: Update NIS plugin]
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
I'm moving the discussion to xwiki-dev.. You should subscribe: http://forge.objectweb.org/mail/?group_id=170 The right process would be to create a task in http://jira.xwiki.org so we can track this feature and the bug separately.. Concerning the struts change. Woulnd't this be possible ? public StringBuffer getRequestURL() { return request.getRequestURL()); } Also I think we need to send this change to the struts team in order for this to be in the standard distrib. In the mean time we need to make a unified diff and commit it in contrib of xwiki, and rename the struts jar to acknowledge our change. Ludovic Ludovic Dubost wrote:
------------------------------------------------------------------------
Subject: Update NIS plugin From: Paulo Gustavo Veiga <[email protected]> Date: Wed, 10 Aug 2005 22:16:56 -0300 To: Ludovic Dubost <[email protected]>
To: Ludovic Dubost <[email protected]>
Hi Ludovic,
How are you?. I'm sending you the laters implementation of my NISAuthService. I've improved the code and fixed some issues
By the way, I've found a bug using basic authentication. If you change from form authetication to basic authetication, you will receive an error when you try to attach a file to a page. This bug is caused by an incomplete implementation of the Struts MultipartRequestWrapper. I've changed the implemetation of the MultipartRequestWrapper. methods getRequestURL and getParameterMap from:
public Map getParameterMap() { return null; }
public StringBuffer getRequestURL() { return null; } to public Map getParameterMap() { return request.getParameterMap(); } public StringBuffer getRequestURL() { return new StringBuffer(request.getScheme()+ "://" + request.getServerName() +":" + request.getServerPort() +request.getRequestURI()); }
I'm also attaching the struts-1.2.4.jar with this modification included.
I hope, this info can help. Best Regards Paulo
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
participants (1)
-
Ludovic Dubost