mirror of
https://github.com/discourse/discourse.git
synced 2025-03-14 16:45:39 +08: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.