Re: Nesting variables in WebParser's URL option
Posted: April 6th, 2019, 1:38 am
Just to be helpful a little...
Library/MeasureWebParser.cpp, line 336:
while ((start = url.find(L"[&", start)) != std::wstring::npos)
Basically, it doesn't check for [# in order to correctly identify the variable to pass to the parser.ReplaceVariables(var); line below. I'm not sure if the std::wstring var = L"["; is suited for variables either, although by the looks of it, it's perfect for measures or section variables.
There might be other things that need some tweaking there, but unfortunately, I'm not an expert in C++ to point them out...
Library/MeasureWebParser.cpp, line 336:
while ((start = url.find(L"[&", start)) != std::wstring::npos)
Basically, it doesn't check for [# in order to correctly identify the variable to pass to the parser.ReplaceVariables(var); line below. I'm not sure if the std::wstring var = L"["; is suited for variables either, although by the looks of it, it's perfect for measures or section variables.
There might be other things that need some tweaking there, but unfortunately, I'm not an expert in C++ to point them out...