discourse/app/assets/javascripts/pretty-text/engines
Martin Brennan f0072dd897
FIX: Stop infinite lookup-urls issue for video/audio on page (#9096)
Meta report: https://meta.discourse.org/t/excessive-requests-to-uploads-lookup-urls-leading-to-429-response/143119

* The data-orig-src attribute was not being removed from cooked
video and audio so the composer was infinitely trying to get the
URLs for them, which would never resolve to anything
* Also the code that retrieved the short URL was unscoped, and was
getting everything on the page. if running from the composer we
now scope to the preview window
* Also fixed a minor issue where the element href for the video
and audio tags was not being set when the short URL was found
2020-03-05 11:47:14 -05:00
..
discourse-markdown DEV: Make image resize controls more resilient (#8867) 2020-02-06 17:19:24 +02:00
discourse-markdown-it.js.es6 FIX: Stop infinite lookup-urls issue for video/audio on page (#9096) 2020-03-05 11:47:14 -05:00