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

fix(output): elgg_normalize_url no longer mistakes querystrings for domains #6590

Closed
wants to merge 1 commit into from

Conversation

mrclay
Copy link
Member

@mrclay mrclay commented Feb 28, 2014

The pattern for recognizing domain names in elgg_normalize_url was too
tolerant, resulting in some paths begin seen as domains just because
the querystring contained a period.

  • resubmit to 1.9 branch

…omains

The pattern for recognizing domain names in elgg_normalize_url was too
tolerant, resulting in some paths begin seen as domains just because
the querystring contained a period.
@@ -430,12 +430,12 @@ function _elgg_html_decode($string) {
*/
function _elgg_get_display_query($string) {
//encode <,>,&, quotes and characters above 127
if (function_exists('mb_convert_encoding')) {
Copy link
Member

Choose a reason for hiding this comment

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

What happened here?

Copy link
Member

Choose a reason for hiding this comment

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

Update: Line endings fixes. We don't have phpcs configured for 1.8, and GH makes it hard to see line ending changes, so these are slipping in.

@ewinslow
Copy link
Contributor

LGTM

@ewinslow
Copy link
Contributor

ewinslow commented Aug 8, 2014

Please resubmit to 1.9

@ewinslow ewinslow closed this Aug 8, 2014
@mrclay
Copy link
Member Author

mrclay commented Aug 9, 2014

Why can't fixes go in 1.8 still?

@ewinslow
Copy link
Contributor

ewinslow commented Aug 9, 2014

My understanding was that 1.8 is in security-fixes-only mode now that 1.9 is not accepting new features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants