Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bug: Unauthenticated user can join another guest game via URL and edit their code

オープン
#2,351 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
elixir

調査の方向性

Reproduce the issue using two incognito windows and the shared game URL, then trace how an unauthenticated visitor is admitted to the guest game and given editor access. Done means the second user is either prevented from joining or remains a spectator with the other player's editor read-only.

索引モデルが issue の本文から書いたものです。

説明

bug
Summary

An unauthenticated user can open another guest's Simple Battle by changing the game id in the URL and edit that player's code

Reproduction steps
1. Go to https://codebattle.hexlet.io/ in an incognito window (User A, not logged in)
2. Click "Try simple battle"
3. Copy the game URL (example: https://codebattle.hexlet.io/games/XXXXXX)
4. Open second incognito window (User B, not logged in)
5. Paste the same URL
6. Click at User A editor and type any text
Expected result

User B should be spectator only, or should not join a guest's game at all. The editor must stay read-only

Actual result

User B joins the game as a participant and can change user A code

Image
Browsers

Firefox

OS

Windows

Current version

05f8883

主要言語
Elixir
スター
887
フォーク
237
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hexlet-codebattle/codebattle のほかの issue

hexlet-codebattle/codebattle の issue をすべて見る

似ている issue

Elixir の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。