Atozed Forums

Full Version: <iwbspath>
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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
Thanks! Well working workaround Smile