Skip to content

Commit

Permalink
changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Apr 12, 2024
1 parent dbbe3d0 commit 76444ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .changeset/spotty-kiwis-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@graphql-tools/utils": patch
---

Disallow new lines in paths when checking with `isValidPath`

A string may sometimes look like a path but is not (like an SDL of a simple
GraphQL schema). To make sure we don't yield false-positives in such cases,
we disallow new lines in paths (even thouhg most Unix systems support new
lines in file names).

0 comments on commit 76444ad

Please sign in to comment.