websGetRequestLpath | GoAhead WebServer API | GoAhead EMF |
Return the validated local pathname for a given request
#include "webs.h" char_t *websGetRequestLpath(webs_t wp);
wp | Web server connection handle |
The websGetRequestLpath procedure returns the validated local path for the current request. The local path is a combination of the request directory and request path and is created by the default URL handler. The local path is fully validated with all "." and ".." path segments interpreted and eliminated.
Pointer to a statically allocated string. Do not call bfree.
websGetRequestLpath(wp);