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

Fixes #1774 #2624

Merged
merged 5 commits into from
Feb 4, 2017
Merged

Fixes #1774 #2624

merged 5 commits into from
Feb 4, 2017

Conversation

WildcardSearch
Copy link
Contributor

@WildcardSearch WildcardSearch commented Jan 16, 2017

Fixes #1774 where single quotes were used to quote the user name without checking
to see if the user name contains single quotes. If it does, this causes
the quote MyCode to fail.

Mark Vincent added 4 commits January 7, 2017 15:34
...where single quotes were used to quote the user name without checking
to see if the user name contains single quotes. If it does, this causing
the quote MyCode to fail.
@WildcardSearch
Copy link
Contributor Author

@mybb/sqa can someone take a look at this? Thanks.

@Shade-
Copy link
Contributor

Shade- commented Feb 2, 2017

Tested. Working fine.

if(strpos($quoted_post['username'], '"') !== false)
{
$quote_char = "'";
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Just one styling thing, wouldn't be better to add a newline after this bracket?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No problem. I'll add it after work today.

@WildcardSearch
Copy link
Contributor Author

@Shade- that should have this ready to merge.

@Shade- Shade- merged commit 444caf3 into mybb:feature Feb 4, 2017
@WildcardSearch WildcardSearch deleted the fix-1774 branch February 4, 2017 02:06
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.

None yet

2 participants