Skip to content

Render failed: Certain queries on the job page result in a failed render instead of 0 matches #127

Description

@AnthonyZhOon

A query https://jobs.monashcoding.com/jobs?search=*&jobTypes%5B%5D=INTERN&page=1 results in a failed to render page. This seems to be a result of trying to search using malformed regex causing an error somewhere.
There is a relevant regex filter to the jobs mongodb query but is not checked for valid regex. https://github.com/monashcoding/mploy-app/blob/ae9d352300d717d94d7f164a47821601a9c957e7/frontend/src/app/jobs/actions.ts#L62C1-L66C9/

Activity

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