|
<< Click to Display Table of Contents >> Navigation: Forum > <iwbspath> |
09-15-2021, 05:41 AM:
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?
09-15-2021, 06:17 AM:
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
09-15-2021, 11:36 AM:
Thanks! Well working workaround