mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
ded6ea66a5
This commit prevents unallowed URLs in iframe src by adding a relative path like `https://bob.com/abc/def/../ghi`. Currently, the iframe linking to the site uses the current_user, not the post's author, so users who have no access to a certain path are not able to view anything they shouldn't. |
||
---|---|---|
.. | ||
addon | ||
app | ||
config | ||
engines/discourse-markdown | ||
.npmrc | ||
ember-cli-build.js | ||
index.js | ||
jsconfig.json | ||
package.json |