URI::basename¶
Description¶
Extracts the basename part of a given uri string.
For the following URI:
/main/index.jsp?user=test&login=check
The basename is:
index.jsp
Examples¶
when HTTP_REQUEST {
set base [URI::basename [HTTP::uri]]
log local0. "Basename of uri [HTTP::uri] is $base"
}