path() function update: * remove hash # character from url