bugfix: changed request uri retrieval

 Changed the retrieval of the query string-less uri from the request object to the server vars.