[PR #2500] [CLOSED] Allow image filename has more than one dot (".") #6008

Closed
opened 2026-02-05 10:22:27 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2500
Author: @johnroyer
Created: 1/20/2021
Status: Closed

Base: masterHead: fix-filename-ext-error


📝 Commits (1)

  • 442bcc8 Allow image filename has more than one dot (".")

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 app/Http/Controllers/Controller.php (+1 -1)

📄 Description

I found an image validator in Controller.php. The rule denied double filename extension (filename which has more then one ".").

This patch should resolve #2306 and #2217.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/2500 **Author:** [@johnroyer](https://github.com/johnroyer) **Created:** 1/20/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-filename-ext-error` --- ### 📝 Commits (1) - [`442bcc8`](https://github.com/BookStackApp/BookStack/commit/442bcc8a0ec6bd8ca4058a3382eaa767b815db27) Allow image filename has more than one dot (".") ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Controllers/Controller.php` (+1 -1) </details> ### 📄 Description I found an image validator in `Controller.php`. The rule denied double filename extension (filename which has more then one "."). This patch should resolve #2306 and #2217. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:22:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6008