reckognize %%WWWROOT%% markers in custom sql reports + preventing custom sql reports from breaking when containing question marks (?)