NPM Server for Editor doesn't handle @ encoded as %40

NPM Server for Editor doesn't handle @ encoded as %40

kbinlkbinl Posts: 6Questions: 2Answers: 0

This is a very similar issue to NPM Server doesn't understand %2F but instead of the / it's the @ that is causing problems. The url that is being used is https://npm.datatables.net/%40datatables.net%2Feditor-dt which I can't control or change. I am hoping that Allan can fix this issue in the verdaccio custom authentication plugin like he did for %2F.

I would open a support ticket, but the person who is the owner of our main account is out of office for a couple of weeks so I can't get access to our support credits.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin

    Hi,

    Thanks for letting me know about this. I will indeed look into it! It might be Monday before I can properly dive into it, but I'll try to do is asap.

    Allan

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    Answer ✓

    Hi,

    Could you try it now please? I believe it should now be fixed.

    Out of interest, what npm client are you using? Or was the package name entered url encoded?

    Allan

  • kbinlkbinl Posts: 6Questions: 2Answers: 0

    Hi Allan. I am using https://github.com/raineorshine/npm-check-updates during CI/CD pipeline runs to help us be aware if we have updates we should look into.

    It always encodes the / and @ characters.

    Looks like your change fixed the issue. Thank you so much for the quick resolution. Sorry it took me so long to check. I was on vacation.

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin

    No worries - hope you had a good break! Thanks for the confirmation that the change does the job.

    Regards,
    Allan

Sign In or Register to comment.