You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d886267
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): validate base64 structure in parseBase64DataUrl
Address review: '=' was accepted anywhere in the payload and length was
not required to be a multiple of 4, so malformed input like 'AB=CD'
passed and Node's lenient decoder would silently truncate it. Allow '='
only as one or two trailing padding characters and require the
assembled length to be a multiple of 4, keeping the iterative
stack-safe style.
Co-Authored-By: Claude Fable 5 <[email protected]>
0 commit comments