Atozed Forums
<iwbspath> - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: <iwbspath> (/thread-2506.html)



<iwbspath> - oystein.jakobsen@sas.no - 09-15-2021

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?


RE: <iwbspath> - Alexandre Machado - 09-15-2021

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


RE: <iwbspath> - oystein.jakobsen@sas.no - 09-15-2021

Thanks! Well working workaround Smile