Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AJAX for Security Questions #894
@ATofighi all bugs will be fixed, don't worry.
@PaulBender I'm going to replace the line:
$valid_answers = explode("\n", $question['answer']);
$valid_answers = preg_split("/\r\n|\n|\r/", $question['answer']);
EDIT: It seems we're using explode everywhere, though I don't agree with it. So I won't do the change above.