Re: [mod-security-users] will appending text - using 'append' - after the /html tag always work?
Brought to you by:
victorhora,
zimmerletw
From: Stephen C. E. <ste...@gm...> - 2008-07-22 12:49:24
|
I should correct that. 'Protocol violation' isn't the correct term; something like 'HTML rendering format issue' is more appropriate. Stephen On Tue, Jul 22, 2008 at 8:45 PM, Stephen Craig Evans < ste...@gm...> wrote: > > Hi Christian, > > Appending Javascript to a page is very cool; I'm just pointing out what > looks like a protocol violation - or maybe I could be wrong. I don't want > the feature to go away :-) > > When a ModSec rule is triggered, instead of redirecting the user to an > error page, I can get a div ID, use innerHTML, and return an error message > back to the user in the middle of their page, plus disable the Submit > button. The user stays in the "same place" on the web site. > > I've hit the 50% milestone on my project but am in the 2nd week of > documentation, one more week than I calculated. I aim to have all of the > content up by Friday and invite the reviewers to have at me. I've had a lot > of fun so far doing this. > > Cheers, > Stephen > > > On Tue, Jul 22, 2008 at 2:40 PM, Christian Folini > <chr...@ti...> wrote: > >> Hey Stephen, >> >> On Tue, Jul 22, 2008 at 01:27:44PM +0800, Stephen Craig Evans wrote: >> > But I notice that the text is appended after the </html> tag; according >> to >> > the manual "Appends text given as parameter to the end of response >> body". I >> > would have thought that the text would be appended after the </body> tag >> and >> > before the </html> tag. >> >> I believe it should read "as parameter to the end of the HTTP response >> body." >> Inserting something into the html content (near the end) is >> a little trickier I believe and you should possibly try and use >> some other sort of filter to accomplish that. >> >> How are you getting along with your project? >> >> Regs, >> >> Christian >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> mod-security-users mailing list >> mod...@li... >> https://lists.sourceforge.net/lists/listinfo/mod-security-users >> > > |