relaxed the restrictions on the url for km-link