This repository was archived by the owner on May 1, 2024. It is now read-only.
Failing to publish to npm when package's README has ")AND1<2" in it #817
Unanswered
gravitypersists
asked this question in
CLI
Replies: 2 comments 6 replies
-
|
readmes are markdown, which accept HTML, so you have to escape |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I had tried publishing a package, via cli, with the following string in its README:
(3 > 2) AND (3 < 10)It failed, reporting a 403. Removing that string from the README solved the issue.
I diagnosed the issue a bit further and reduced it down to anything matching
\)AND\d\<\dwill produce this error. So having the string)AND1<2will also fail to publish.(I wouldn't be surprised if my organization just has a funny regex security rule configured into npm, if that exists... but I thought I'd report it anyways because I imagine it's a pervasive little bug that will rarely be crossed)
Beta Was this translation helpful? Give feedback.
All reactions