1
0
mirror of https://github.com/flarum/core.git synced 2025-08-31 11:52:16 +02:00

Merge pull request from GHSA-22m9-m3ww-53h3

* fix: check post visibility when mentioning

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* fix: `mentionsPosts` include is not used and leaks private posts

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chre: use `PostRepository`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-01-10 12:43:46 +01:00
parent 8a65ad980d
commit 132fdea659
6 changed files with 52 additions and 7 deletions

View File

@@ -19,7 +19,7 @@
}
],
"require": {
"flarum/core": "^1.6"
"flarum/core": "^1.6.3"
},
"autoload": {
"psr-4": {