Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: disallow queries in username and email fields [2.x]#4213

Merged
jannyHou merged 1 commit into
2.x from
2.x-backport
Jun 4, 2019
Merged

fix: disallow queries in username and email fields [2.x] #4213
jannyHou merged 1 commit into
2.x from
2.x-backport

Conversation

@jannyHou

@jannyHou jannyHou commented Jun 4, 2019

Copy link
Copy Markdown
Contributor

Description

A backport PR to fix #4195 in loopback 2.x
Username and email fields should not allow queries.

Related issues

  • connect to <link_to_referenced_issue>

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

Username and email fields should not allow queries.

@dhmlau dhmlau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Compared the changes in the PR in master https://github.com/strongloop/loopback/pull/4208/files.

jannyHou commented Jun 4, 2019

Copy link
Copy Markdown
Contributor Author

The failure on Node.js 4.x is not related to the code.
It fails on my local as well:
https://gist.github.com/jannyHou/4d1bd77a39d0bfb59305759ac3b8fb8a

Let's fix it in a separate PR.

b-admike reacted with thumbs up emoji

@b-admike b-admike left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@jannyHou jannyHou merged commit 0932409 into 2.x Jun 4, 2019
@delete-merged-branch delete-merged-branch Bot deleted the 2.x-backport branch June 4, 2019 17:34
@bajtos bajtos changed the title (削除) fix: disallow queries in username and email fields (削除ここまで) (追記) fix: disallow queries in username and email fields [2.x] (追記ここまで) Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@raymondfeng raymondfeng raymondfeng approved these changes

@b-admike b-admike b-admike approved these changes

@dhmlau dhmlau dhmlau approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /