Skip to content

Webpage crashes if invalid maths expression is input #5

@JoshdRod

Description

@JoshdRod

e.g: Inputting "10x +" into answer box and pressing enter will cause site to crash.
This is because the evaluation subroutines are expecting valid maths expressions, and are probably looping forever.
Solution: Add an expression validator that runs before evaluation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions