Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method SCRAM.sanitizeString
import { SCRAM } from "https://deno.land/x/kafkasaur@v0.0.7/src/broker/saslAuthenticator/scram.ts";

From https://tools.ietf.org/html/rfc5802#section-5.1

The characters ',' or '=' in usernames are sent as '=2C' and '=3D' respectively. If the server receives a username that contains '=' not followed by either '2C' or '3D', then the server MUST fail the authentication.

Parameters

str: any