class-validator icon indicating copy to clipboard operation
class-validator copied to clipboard

feature: url safe base64 validation

Open korki43 opened this issue 3 years ago • 5 comments

Description

There should be a way to validate url safe base64.

Proposed solution

Add validator.IsBase64Options as optional constraints to the isBase64 decorator.

korki43 avatar Apr 08 '21 12:04 korki43

Interesting how this is not getting any attention at all

mug-cat avatar Jul 14 '22 06:07 mug-cat

Just bumped into this problem.

gustavotoyota avatar Sep 01 '22 20:09 gustavotoyota

Seems like a no brainer, since this is just catching up to the upstream features.

Anyone want to make a PR?

braaar avatar Sep 02 '22 09:09 braaar

It seems like this repo was abandoned. The last non-automated commit was 10 months ago despite a lot of of open issues/PRs.

For now you can use patch-package to fix this by yourself.

korki43 avatar Sep 05 '22 20:09 korki43

It seems like this repo was abandoned. The last non-automated commit was 10 months ago despite a lot of of open issues/PRs.

For now you can use patch-package to fix this by yourself.

I have made this issue about the matter. Chime in if you're interested in trying to revive the project!

braaar avatar Sep 06 '22 13:09 braaar

Fixed in https://github.com/typestack/class-validator/pull/1845.

NoNameProvided avatar Dec 09 '22 21:12 NoNameProvided

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Apr 26 '23 00:04 github-actions[bot]