mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 23:05:30 +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.