mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 03:27:25 +08:00

Vimeo has two url structure: - Normal /video_id - Private/Unlisted /video_id/hash_string This changes change the regex pattern thus it would be able to catch both. Also it tolerate trailing slash. This shall fixes: https://meta.discourse.org/t/vimeo-embed-urls-parsed-incorrectly-in-email/231042