Sometimes a user will input a form value with invisible characters like spaces, tabs, or newlines (T11586). When we return an error message to the user, it isn't always obvious that the cause of the error is an invisible character. We should wrap the erroneous values in a PHUIInvisibleCharacterView before returning them to the user so they can see if an invisible character is the source of their life's problems.
Here's an incomplete list of places that could probably benefit from this extra visibility:
- Phurl aliases.
- Project hashtags.
- AlmanacNames has some of these.
- Repository callsigns.
- Repository short names.
- (Phame and Phriction have slug-like names but I don't think there are any possible user-facing errors.)
- Phame blog "Parent Site URI".
- OAuth server "Redirect URI".