mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 06:55:56 +03:00
[PR #48] [MERGED] Fix MASTER_DELETE_CODE to work with deletion codes with uppercase letters #145
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#145
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/HaschekSolutions/pictshare/pull/48
Author: @evaera
Created: 3/19/2018
Status: ✅ Merged
Merged: 3/22/2018
Merged by: @geek-at
Base:
master← Head:master📝 Commits (1)
6d015c6Convert MASTER_DELETE_CODE to lowercase📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
models/pictsharemodel.php(+2 -2)📄 Description
Hello,
After about an hour of trying to figure out why my master delete code wasn't working, I discovered that the problem was that my master deletion code had uppercase characters. Deletion codes with uppercase characters are always rejected because each URL segment is converted to lowercase before being compared. My temporary solution was to just convert my code to lowercase.
The changes made in this PR will ensure that the MASTER_DELETE_CODE is converted to lowercase in the comparison, which will allow codes with uppercase letters to work.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.