Skip to content

fix(voidboost): handle both plain text and base64 stream formats#103

Open
Day-Anger wants to merge 3 commits intodandygithub:matrixfrom
Day-Anger:matrix
Open

fix(voidboost): handle both plain text and base64 stream formats#103
Day-Anger wants to merge 3 commits intodandygithub:matrixfrom
Day-Anger:matrix

Conversation

@Day-Anger
Copy link

The site temporarily removed obfuscation (BK_BLOCKS/base64). Parse streams now auto-detects format:

Plain text: starts with '[' (new format)
Base64 encoded: legacy format with BK_SEP blocks

Changes:

Add format auto-detection before decoding
Preserve original regex logic for URL extraction
Add URL validation (scheme, length, domain)
Raise ValueError on invalid input instead of silent failure
Compile regex once for optimization

Day-Anger and others added 3 commits February 26, 2026 09:50
The site temporarily removed obfuscation (BK_BLOCKS/base64).
Parse streams now auto-detects format:

    Plain text: starts with '[' (new format)
    Base64 encoded: legacy format with BK_SEP blocks

Changes:

    Add format auto-detection before decoding
    Preserve original regex logic for URL extraction
    Add URL validation (scheme, length, domain)
    Raise ValueError on invalid input instead of silent failure
    Compile regex once for optimization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant