Search term replaced with “hacked-by-felek-test-2” after clicking “See all results”

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
領域
search

調査の方向性

「transition」のような検索を使ってウェブサイト上で問題を再現し、検索候補から結果ページへの引き継ぎと Algolia の設定を調査します。元のクエリが「hacked-by-felek-test-2」プレフィックスなしで保持され、結果ページが正常に動作すれば修正は完了です。

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

説明

Hi there 👋

I’ve encountered a strange issue with the search functionality on your website. When I enter any search term, it initially appears correctly in the dropdown suggestions. However, after clicking “See all results”, the search term gets prefixed with the string hacked-by-felek-test-2 on the results page.

For example, if I search for transition, the search query becomes hacked-by-felek-test-2transition.

Steps to reproduce:

  1. Go to the website.
  2. Type any term in the search bar (e.g. transition).
  3. Notice that suggestions appear correctly.
  4. Click “See all results”.
  5. Observe that the search query changes to hacked-by-felek-test-2transition.
Image

I'm not sure if this problem is on your side or on algolia's. But this might indicate a misconfiguration, leftover test data, or a potential security concern.

主要言語
MDX
スター
39
フォーク
94
平均マージ
1日 2時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

statelyai/docs のほかの issue

statelyai/docs の issue をすべて見る

似ている issue

Search の issue をもっと見る

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

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