TitleBrushedTemplate preview gives Attempt to post from a different IP address than where the page was originally fetched
Date17-Mar-2007 20:37:42 EET
Version2.4.100
SubmitterHarryMetske
Bug criticalityLightBug
Browser versionany
Bug statusClosedBug
PageProvider usedany
Servlet Containertomcat
Operating SystemLinux + z/OS
URLPreview.jsp
Java version1.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


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

--MatthewTowle, 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, 03-May-2007

Is resolved in latest download of BrushedTemplate --DF

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-6) was last changed on 03-May-2007 09:13 by DirkFrederickx