Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<iwbspath>
#1
After recent update to 15.2.37 (from last known working version 15.2.29), generated HTML looks like this where '<iwbspath>' insertion renders the page invalid.

<link href="/$/css/IWNotify__952076135.css" rel="stylesheet" type="text/css"/>
<link href="/select2.min.css" rel="stylesheet" type="text/css"/>
<link href="/<iwbspath>/bootstrap-3.4.1/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="/<iwbspath>/iwbs.css" rel="stylesheet" type="text/css"/>
<link href="/<iwbspath>/dyntabs/bootstrap-dynamic-tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" nonce="8ICdNy15+TwfRwZIu5EvyHSodS4">


I guess "/<iwbspath>/" comes from a global variable, but which global variable and where should it be updated; In form OnCreate or servercontroller OnConfig?
Reply
#2
I see what's happening. As a workaround, please add this to your ServerController.OnConfig event handler:

uses
IWBSGlobal;

procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
IWBSLibSetCDNS;
end;

it should work as expected. I'm working on a fix
Reply
#3
Thanks! Well working workaround Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)