[PR #397] [CLOSED] [FEATURE] Sanitize strings before writing to the database #585

Closed
opened 2026-02-25 23:34:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/397
Author: @imajes
Created: 3/7/2022
Status: Closed

Base: masterHead: feat/ensure-strings-are-santized-before-ingest


📝 Commits (1)

  • 1226ff4 [FEATURE] Sanitize strings before writing to the database

📊 Changes

4 files changed (+58 additions, -13 deletions)

View changed files

📝 internal/database/database.go (+12 -0)
📝 internal/database/mysql.go (+10 -3)
📝 internal/database/pg.go (+11 -4)
📝 internal/database/sqlite.go (+25 -6)

📄 Description

This pulls the sanitizing elements from PR #250, to make this (and that PR) easier to move forward. Thanks to @ynsta for the original work. :D


🔄 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/go-shiori/shiori/pull/397 **Author:** [@imajes](https://github.com/imajes) **Created:** 3/7/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/ensure-strings-are-santized-before-ingest` --- ### 📝 Commits (1) - [`1226ff4`](https://github.com/go-shiori/shiori/commit/1226ff4b323350b993cffee2eb7ebe9f846effc7) [FEATURE] Sanitize strings before writing to the database ### 📊 Changes **4 files changed** (+58 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `internal/database/database.go` (+12 -0) 📝 `internal/database/mysql.go` (+10 -3) 📝 `internal/database/pg.go` (+11 -4) 📝 `internal/database/sqlite.go` (+25 -6) </details> ### 📄 Description This pulls the sanitizing elements from PR #250, to make this (and that PR) easier to move forward. Thanks to @ynsta for the original work. :D --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#585
No description provided.