Corrected URL parsing.