[PR #1908] [MERGED] Added Handle Authorization Header on .htaccess and added a base Shelf API implementation #5920

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/1908
Author: @osmansorkar
Created: 2/19/2020
Status: Merged
Merged: 4/10/2020
Merged by: @ssddanbrown

Base: masterHead: master


📝 Commits (2)

  • 01adf39 added Handle Authorization Header on .htaccess to solve Authorization problem get from laravel orginal github ripo
  • 1859c79 added api functionality to handle book Shelves

📊 Changes

3 files changed (+123 additions, -0 deletions)

View changed files

app/Http/Controllers/Api/BookshelfApiController.php (+113 -0)
📝 public/.htaccess (+4 -0)
📝 routes/api.php (+6 -0)

📄 Description

API Authorization problem on my laragon server. I have fixed it by copy and past Handle Authorization Header from this https://github.com/laravel/laravel/blob/master/public/.htaccess.

thanks


🔄 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/1908 **Author:** [@osmansorkar](https://github.com/osmansorkar) **Created:** 2/19/2020 **Status:** ✅ Merged **Merged:** 4/10/2020 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`01adf39`](https://github.com/BookStackApp/BookStack/commit/01adf39be8fdaed911712170ded91ae878dfa254) added Handle Authorization Header on .htaccess to solve Authorization problem get from laravel orginal github ripo - [`1859c79`](https://github.com/BookStackApp/BookStack/commit/1859c7917ff11230a0d364dd592c1fb325e8e40a) added api functionality to handle book Shelves ### 📊 Changes **3 files changed** (+123 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `app/Http/Controllers/Api/BookshelfApiController.php` (+113 -0) 📝 `public/.htaccess` (+4 -0) 📝 `routes/api.php` (+6 -0) </details> ### 📄 Description API Authorization problem on my laragon server. I have fixed it by copy and past Handle Authorization Header from this https://github.com/laravel/laravel/blob/master/public/.htaccess. thanks --- <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:20:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5920