Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: magicoflolis/Userscript-Plus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: DealsBeam/Userscript-Plus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Nov 2, 2025

  1. fix(decode): prevent infinite recursion and add test

    The 'decode' function in 'src/js/util.js' was vulnerable to infinite recursion with certain malformed URI strings. It also failed to decode some valid URI-encoded strings.
    
    This commit replaces the recursive implementation with an iterative 'while' loop. This is a more robust way to handle repeated decoding and prevents stack overflow errors.
    
    A new test case has been added to 'tools/test_decode.js' to verify the fix. The test fails before the fix and passes after, proving the bug is resolved.
    google-labs-jules[bot] committed Nov 2, 2025
    Configuration menu
    Copy the full SHA
    df0d0d7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from DealsBeam/fix-decode-uri

    Fix URI decoding and add test
    DealsBeam authored Nov 2, 2025
    Configuration menu
    Copy the full SHA
    ca5810f View commit details
    Browse the repository at this point in the history
Loading