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

ws_bridge: stripping format=evr for matchmaker connections can concatenate the path and query

Open Beginner friendly
#116 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
73/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp
Domain
networking

Research direction

Start with ws_bridge.cpp:1008-1020 and trace how the URI is modified for matchmaker connections. Check the existing tests for URI handling, then add coverage for a query beginning with ?format=evr&discordid=... and verify the resulting path and query remain separated.

Written by the indexing model from the issue text.

Description

bug

Found during #41's extension (PR #109). ws_bridge.cpp:1008-1020 strips "format=evr&" from the URI for matchmaker connections (conn >= 2). If nevr_socket_uri's query starts with "?format=evr&discordid=...&password=...", stripping "format=evr&" together removes the "?" along with it: "wss://g.example/ws?format=evr&discordid=1&password=pw" becomes "wss://g.example/wsdiscordid=1&password=pw" — path and query concatenated with no separator.

Doesn't trigger with the current example config (docs/reference/example-config.yaml:175 doesn't put format=evr first), so this is latent, not necessarily hit today. Pre-existing, not introduced by #41's fix. Needs its own look at the stripping logic — probably wants to strip through the next & and reinsert a single separator, rather than assuming format=evr is removable as a prefix.

Dominant language
C
Stars
2
Forks
2
Avg merge
18h 52m
Merged PRs (30d)
29

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 EchoTools/nevr-runtime

All issues in EchoTools/nevr-runtime

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.