mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 14:25:59 +08:00
f0072dd897
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 |
||
---|---|---|
.. | ||
context | ||
emoji | ||
engines | ||
censored-words.js.es6 | ||
emoji.js.es6 | ||
guid.js.es6 | ||
inline-oneboxer.js.es6 | ||
oneboxer-cache.js.es6 | ||
oneboxer.js.es6 | ||
pretty-text.js.es6 | ||
sanitizer.js.es6 | ||
upload-short-url.js.es6 | ||
white-lister.js.es6 | ||
xss.js.es6 |