mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 14:00:24 +08:00

FinalDestination now supports the `follow_canonical` option, which will perform an initial GET request, parse the canonical link if present, and perform a HEAD request to it. We use this mode during embeds to avoid treating URLs with different query parameters as different topics.