Fixed a bug that raised an error if a lexer is unknown
More precise url handling