这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jazelly
Copy link
Contributor

@jazelly jazelly commented Jun 22, 2024

Fixes: #1737

Pull Request Type

  • 🐛 fix

Relevant Issues

resolves #1737

What is in this change?

Added a sanitizeFileName function to remove special chars in filename. This is used in confluence connector to safely write to fs

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat timothycarambat added the PR:needs review Needs review by core team label Jun 22, 2024
@timothycarambat timothycarambat merged commit fa4ab0f into Mintplex-Labs:master Jun 25, 2024
doumencp pushed a commit to doumencp/anything-llm that referenced this pull request Jun 26, 2024
* fix: sanitize filename before writing

Fixes: Mintplex-Labs#1737

* fixup

* fixup
franzbischoff pushed a commit to franzbischoff/anything-llm that referenced this pull request Jul 3, 2024
* fix: sanitize filename before writing

Fixes: Mintplex-Labs#1737

* fixup

* fixup
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Jul 31, 2024
* fix: sanitize filename before writing

Fixes: Mintplex-Labs#1737

* fixup

* fixup
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Aug 1, 2024
* fix: sanitize filename before writing

Fixes: Mintplex-Labs#1737

* fixup

* fixup
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Aug 2, 2024
* fix: sanitize filename before writing

Fixes: Mintplex-Labs#1737

* fixup

* fixup
CrackerCat pushed a commit to CrackerCat/anything-llm that referenced this pull request Aug 3, 2024
* fix: sanitize filename before writing

Fixes: Mintplex-Labs#1737

* fixup

* fixup
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
* fix: sanitize filename before writing

Fixes: Mintplex-Labs#1737

* fixup

* fixup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:needs review Needs review by core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Some confluence doc name cannot be saved - throwing ENOENT: no such file or directory

2 participants