|Title|BrushedTemplate preview gives Attempt to post from a different IP address than where the page was originally fetched
|Date|17-Mar-2007 20:37:42 EET
|Version|2.4.100
|Submitter|HarryMetske
|[Bug criticality]|LightBug
|Browser version|any
|[Bug status]|ClosedBug
|[PageProvider] used|any
|Servlet Container|tomcat
|Operating System|Linux + z/OS
|URL|Preview.jsp
|Java version|1.5

There is a small error in PreviewContent.jsp in the brushed template.

It's the same error as in plain.jsp, that has been reported before, it doesn't (but should) contain the following line within the <form> :

{{{
<input type="hidden" name="addr" value="<%=request.getRemoteAddr()%>" />
}}}

This causes an error when you preview a Comment, you get the message :

Attempt to post from a different IP address than where the page was originally fetched

(Dirk, can you correct this in your distribution ?)

regards,
Harry

----
Tx for pointing out !    I'll fix it in the next upload.
--[DF|DirkFrederickx]


----

I get a similar thing when pressing 'Save' when trying to Add a Comment in the Vista template.

--[MatthewTowle|mailto:matthew.towle@serco.com], 20-Mar-2007


----

Exactly where does this go within the PreviewComment.jsp?  I pasted it in right after 
 <form action="<%= action %>" 
and restarted my webapp.  It works fine as long as one previews their post.  If you just hit the "Save" button, you get the same "Attempt to port from a different IP address ..." error.

WT

--[wt|mailto:mwesleytaylor@yahoo.com], 03-May-2007

Is resolved in latest download of BrushedTemplate --[DF|DirkFrederickx]