Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firefox cross-site scripting issue
#10
I went ahead and added the following to my servercontroller

procedure TController.IWServerControllerBaseParseParameter(var AParam: string;
var AllowIt: Boolean; const Index: Integer);
begin

if ContainsText(AParam, 'onbeforescriptexecute') then
AllowIt := False;

end;

NOW they are coming back and saying that I also need to also check for onafterscriptexecute. (Can you also please add this one to your code base?)

I know I can add the following to the servercontroller, but it there a way to block everything and only allow what I need to pass through?

if ContainsText(AParam, 'onafterscriptexecute') then
AllowIt := False;
Reply


Messages In This Thread
Firefox cross-site scripting issue - by joelcc - 10-05-2020, 07:41 PM
RE: Firefox cross-site scripting issue - by kudzu - 10-14-2020, 04:44 PM
RE: Firefox cross-site scripting issue - by zsleo - 10-14-2020, 07:00 PM
RE: Firefox cross-site scripting issue - by joelcc - 10-26-2020, 01:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)