FoxInCloud
wNavigate() and URL without the final slash
Hi Tierry,
We must append a slash at the end of the URL, to be open by the browse with the wNavigate().. But in this case, the HTML form in the page open by the URL doesn't work correctly. If i dont append the end slash, wNavigate() do not open the URL.
How can i do to insert this url link in a menu or in a form ?
Amicalement Gilles
Gilles,
I mentioned this limitation in my first reply
Next version will fix that; here is the fix:
modify command awServer
PROCEDURE Navigate as Boolean
* replace
IF .F.;
OR InList(m.tcURL, '.', '..');
OR Right(m.tcURL, 1) == '/'; && {fr} suppose que les répertoires virtuels ont un document par défaut
* by
IF .F.;
OR InList(m.tcURL, '.', '..');
OR Right(m.tcURL, 1) == '/'; && {fr} suppose que les répertoires virtuels ont un document par défaut
OR Leftc(Lower(m.tcURL), Lenc('http://')) == 'http://';
OR Leftc(Lower(m.tcURL), Lenc('https://')) == 'https://';