Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Tangled.org pull requests break (?ref is stripped)

Open Beginner friendly
#353 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
tooling

Research direction

Find the rule entry matching (?:%3F)?ref_? and check how it applies to the api.tangled.org request shown in the log. Start by reading the surrounding rules and any repository guidance for validating rule changes. Done means ClearURLs no longer strips ref from the affected request, while the existing rule behavior remains covered by the project’s checks.

Written by the indexing model from the issue text.

Description

With ClearURLs active, I cannot merge PRs on tangled.org.
The issue is caused by the ?ref= parameter getting stripped.

Confirmed ClearURLs is causing the issue.
https://discord.com/channels/1361963801993285692/1361963802848919676/1565846122390364401

Image

ClearURLsLogExport.json

{
    "log": [
        {
            "before": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote&ref=refs%2Fheads%2Fmain",
            "after": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote",
            "rule": "(?:%3F)?ref_?",
            "timestamp": 1793397940444
        },
        {
            "before": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote&ref=refs%2Fheads%2Fmain",
            "after": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote",
            "rule": "(?:%3F)?ref_?",
            "timestamp": 1793397940444
        },
        {
            "before": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote&ref=refs%2Fheads%2Fdocs%2Fcar-voice-button",
            "after": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote",
            "rule": "(?:%3F)?ref_?",
            "timestamp": 1793397940444
        },
        {
            "before": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote&ref=refs%2Fheads%2Fmain",
            "after": "https://api.tangled.org/xrpc/org.tangled.temp.git.getRef?repo=did%3Aplc%3Axln6y55ck4cdkuna5gfixote",
            "rule": "(?:%3F)?ref_?",
            "timestamp": 1793397943816
        }
    ]
}
Dominant language
JavaScript
Stars
253
Forks
85
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClearURLs/Rules

All issues in ClearURLs/Rules

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.