mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This is a much better description of its function. It performs idempotent normalization of a URL. If consumers truly need to `encode` a URL (including double-encoding of existing encoded entities), they can use the existing `.encode` method.