update link parser to support url encoded paths