Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can X-Powered-By response header be removed?
#5
(10-03-2018, 05:12 PM)rchristi12 Wrote:
(10-03-2018, 04:51 PM)LorenSzendre Wrote:
(10-03-2018, 04:31 PM)kudzu Wrote: In 15 there is an option to remove such headers. I think it includes that one, if not it can be expanded to do so.

I just tried this and it worked:

   if Pos('IntraWeb', vMetaValue) > 0 then
   begin
      vMetaValue := '';
   end;

Is there a more elegant way to accomplish this task?

We do plan on upgrading during our freeze period in December.   Regarding that snippet of code, in what method/event did you do that?

procedure TIWServerController.IWServerControllerBaseMetaTag(
  ASession: TIWApplication; const AMetaName: string; var vMetaValue: string);
begin
   if Pos('IntraWeb', vMetaValue) > 0 then
   begin
      vMetaValue := '';
   end;
Reply


Messages In This Thread
RE: Can X-Powered-By response header be removed? - by LorenSzendre - 10-03-2018, 05:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)