Skip to content

Commit 91f8012

Browse files
committed
Merge branch 'master' into release
2 parents 0fe5bdf + 7a0636d commit 91f8012

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+338
-210
lines changed

.github/SECURITY.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Only the [latest version](https://github.com/BookStackApp/BookStack/releases) of BookStack is supported.
6+
We generally don't support older versions of BookStack due to maintenance effort and
7+
since we aim to provide a fairly stable upgrade path for new versions.
8+
9+
## Security Notifications
10+
11+
If you'd like to be notified of new potential security concerns you can [sign-up to the BookStack security mailing list](https://updates.bookstackapp.com/signup/bookstack-security-updates).
12+
13+
## Reporting a Vulnerability
14+
15+
If you've found an issue that likely has no impact to existing users (For example, in a development-only branch)
16+
feel free to raise it via a standard GitHub bug report issue.
17+
18+
If the issue could have a security impact to BookStack instances, please use one of the below
19+
methods to report the vulnerability:
20+
21+
- Directly contact the lead maintainer [@ssddanbrown](https://github.com/ssddanbrown).
22+
- You will need to login to be able to see the email address on the [GitHub profile page](https://github.com/ssddanbrown).
23+
- Alternatively you can send a DM via Twitter to [@ssddanbrown](https://twitter.com/ssddanbrown).
24+
- [Disclose via huntr.dev](https://huntr.dev/bounties/disclose)
25+
- Bounties may be available to you through this platform.
26+
- Be sure to use `https://github.com/BookStackApp/BookStack` as the repository URL.
27+
28+
Please be patient while the vulnerability is being reviewed. Deploying the fix to address the vulnerability
29+
can often take a little time due to the amount of preparation required, to ensure the vulnerability has
30+
been covered, and to create the content required to adequately notify the user-base.
31+
32+
Thank you for keeping BookStack instances safe!

app/Uploads/ImageRepo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(
3838
*/
3939
public function imageExtensionSupported(string $extension): bool
4040
{
41-
return in_array(trim($extension, '. \t\n\r\0\x0B'), static::$supportedExtensions);
41+
return in_array(trim($extension, ". \t\n\r\0\x0B"), static::$supportedExtensions);
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)