[PR #13693] [MERGED] Disallow certain non-filename characters in Export Text #29715

Open
opened 2026-01-31 09:36:29 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13693
Author: @Eschivo
Created: 8/5/2022
Status: Merged
Merged: 8/11/2022
Merged by: @undefined

Base: mainHead: filename_correction_tabsave


📝 Commits (3)

  • a860d96 Added control in code for not allowed characters in filename
  • 4184ce6 Filename correction using lookup table
  • 3d3bb13 Correction of return in erase_if inside clean_filename

📊 Changes

2 files changed (+27 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalApp/TabManagement.cpp (+4 -1)
📝 src/inc/til/string.h (+23 -0)

📄 Description

Added control in code for not allowed characters in the filename when saving a
tab.

Closes #13664


🔄 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/microsoft/terminal/pull/13693 **Author:** [@Eschivo](https://github.com/Eschivo) **Created:** 8/5/2022 **Status:** ✅ Merged **Merged:** 8/11/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `filename_correction_tabsave` --- ### 📝 Commits (3) - [`a860d96`](https://github.com/microsoft/terminal/commit/a860d9690420a6745b2add2d21582cc5b8cf3ff5) Added control in code for not allowed characters in filename - [`4184ce6`](https://github.com/microsoft/terminal/commit/4184ce6bb9193f5b1c0df72cce182d4c2120a1f3) Filename correction using lookup table - [`3d3bb13`](https://github.com/microsoft/terminal/commit/3d3bb134b67cd02d814b29d05efd80e422bdd656) Correction of return in erase_if inside clean_filename ### 📊 Changes **2 files changed** (+27 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TabManagement.cpp` (+4 -1) 📝 `src/inc/til/string.h` (+23 -0) </details> ### 📄 Description Added control in code for not allowed characters in the filename when saving a tab. Closes #13664 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:36:29 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29715