gnieh / bluelatex

A collaborative Latex Editor written in Scala and AngularJS
http://www.bluelatex.org
Apache License 2.0
81 stars 18 forks source link

Username containing spaces gives errors later in registration #249

Open cephos opened 9 years ago

cephos commented 9 years ago

When you register with a Username with spaces, you get the normal Password-Setting Email but the Space in the URL isn't escaped (%20). If you replace it manually and try to set the password there is an error which says: "Something wrong happened" without further details.

Two possibilities to fix:

  1. Block spaces in Form-Validation right away from the start (preferred and probably easier)
  2. Fix these two bugs and eventually following bugs

Affected Release: Version which is currently installed on http://blue.publications.li/

satabin commented 9 years ago

Forbidding space in the form is probably the best solution at first.

@monperrus Can you see anything in the logs?

@tdurieux Is this ok for you to do it?

tdurieux commented 9 years ago

I will do it.