NPMplus: Can't login with 411

npmplus-1 | [Express ] › ⚠ warning Invalid regular expression: /^[a-z\-]+:\/\/(?:\[([a-z0-9]{0,4}\:?)+\])?/?(:[0-9]+)?$/u: Invalid escape

In current release, works with 410, see https://github.com/ZoeyVid/NPMplus/blob/fad27a887794009e41e9d052a9c10a45cc1139bb/backend/lib/express/cors.js#L13

Best Andreas

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 29 (16 by maintainers)

Most upvoted comments

many thanks!

@SoundAndColors thanks for carrying out!

@Zoey2936 as described by @SoundAndColors, no login possible with 411 😢

You can not log in. This is the error that you get in the logs when you enter your credentials at the login screen.

[Nginx ] › ℹ info Starting Nginx [Express ] › ⚠ warning Invalid regular expression: /^[a-z-]+://(?:[([a-z0-9]{0,4}:?)+])?/?(:[0-9]+)?$/u: Invalid escape

I rolled back to 410 and it’s fixed again.