Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POOL-589] Add regexp for {first, middle, last, display}name #1294

Merged
merged 1 commit into from
Jun 7, 2017

Conversation

srenatus
Copy link
Contributor

@srenatus srenatus commented Jun 6, 2017

I've tried to be liberal. What this still forbids is anything html-y, or
SQL-y. It's probably not even close to capturing real-world names.

{?VD(lists:flatten(io_lib:format("Works with non-ASCII ~s", [Field]))),
fun() ->
%% "Maryam", #1 female name in the arab world as of 2015
Value = <<"مريم 1. O'Mara">>,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Must have to do with my editor not knowing right-to-left text, because it looks different there:
screen shot 2017-06-06 at 17 26 05

@marcparadise
Copy link
Member

marcparadise commented Jun 7, 2017

I'll merge this rebase + travis re-run passes - looks like our authz connection pool ran out in CT on the last run.

I've tried to be liberal. What this still forbids is anything html-y, or
SQL-y. It's probably not even close to capturing real-world names.

Signed-off-by: Stephan Renatus <srenatus@chef.io>
@marcparadise marcparadise force-pushed the sr/pool-589/validate-input-for-user-records branch from a2ff439 to 943c5f7 Compare June 7, 2017 15:53
@marcparadise marcparadise merged commit 59b26f2 into master Jun 7, 2017
@marcparadise marcparadise deleted the sr/pool-589/validate-input-for-user-records branch June 7, 2017 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants