Source-X
Source-X copied to clipboard
Webpage settings doesn't respect WebPageSrc
When setting webpage generation, WebPageSrc is not taken into acount. For example, if I change on WEBPAGE 1
line WebPageSrc=scripts/web/spherestatusbase.htm
to anything else (like scripts/web/status.json), sphere sends warning with WARNING:'spherestatusbase1.htm' not found...
.
This is likely because filename seems hardcoded in CWepPageDef.cpp
This seems to be little more complicated. If we allow using filename from config, using m_sSrcFilePath = rid.GetResPage();
it can still fail to load. It will happen here, if we use file extension, that is not in allowed extension list.