[PR #866] [CLOSED] Replace all escaped slashes in json strings #948

Closed
opened 2025-12-29 02:18:40 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/866
Author: @AlexanderS
Created: 2/4/2022
Status: Closed

Base: masterHead: fix-escaped-slashes


📝 Commits (1)

  • 292c5a1 Replace all escaped slashes in json strings

📊 Changes

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

View changed files

📝 dehydrated (+1 -1)

📄 Description

${var/pattern/string} will only replace the first occurence. We should
use ${var//pattern/string} to replace all escaped slashes.


🔄 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/dehydrated-io/dehydrated/pull/866 **Author:** [@AlexanderS](https://github.com/AlexanderS) **Created:** 2/4/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-escaped-slashes` --- ### 📝 Commits (1) - [`292c5a1`](https://github.com/dehydrated-io/dehydrated/commit/292c5a137177462cd6c284c5127fc18734cfcea1) Replace all escaped slashes in json strings ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `dehydrated` (+1 -1) </details> ### 📄 Description `${var/pattern/string}` will only replace the first occurence. We should use `${var//pattern/string}` to replace all escaped slashes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:18:40 +01:00
adam closed this issue 2025-12-29 02:18:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#948