Malformed url display in the log details of reports screen
when viewing the log details & hits the URL is often malformed when displayed, eg in the URLbelow the / and space after qs_searchReult_tbp shouldnt be there and also the space after storeid= shouldnt be there
/webapp/wcs/stores/servlet/qs_searchResult_tbp/ ?filters=9books|2a4&searchTerm=sticker+books&storeId= 10001
when we view the actual apache log the URL is correct without the extra / and spaces
/webapp/wcs/stores/servlet/qs_searchResult_tbp/ ?filters=9books|2a4&searchTerm=sticker+books&storeId= 10001
when we view the actual apache log the URL is correct without the extra / and spaces
The slash is added after the file name because the program considers file names without extensions to be directory names. Directories like
http://www.domain.com/dir/
can be requested with slash at the end and without it likehttp://www.domain.com/dir
, so if the program determines that a file doesn't contain an extension, it adds a slash to count requests for /dir and /dir/ together.