Skip to content

Performing search with character '#' returns all results #71

Open

Description

@AtomicMaya

Describe the bug
When searching for a user, a team name, etc. performing a search using the search field for any text that includes the pound sign # returns all results.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Admin/Teams
  2. Search for #<An existing team name>
  3. See error (all teams in order of registration are displayed)

Expected behavior
The results should be only the names containing the characters in the search field.

Screenshots
image

Environment (please complete the following information):
N/A

Activity

  1. thebeanogamer commented on May 28, 2022

    @thebeanogamer
    Member

    This appears to be a Shell issue. Search strings get truncated at the #, Core is correctly replying to the query.

    Searching for asd#asd causes a request to https://api-XXX.ractf.cloud/api/v2/member/?search=asd.

  2. AtomicMaya commented on May 28, 2022

    @AtomicMaya
    Author

    Can confirm that only first part of string is used.

  3. NicholasG04 commented on Aug 7, 2022

    @NicholasG04
    Member

    We will URL encode this, should fix it probably maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions