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

Page URL are stored with HTML entities encoded (sanitized) #7990

Merged
merged 3 commits into from May 25, 2015
Merged

Conversation

mattab
Copy link
Member

@mattab mattab commented May 25, 2015

fixes #7989

if tests pass I will merge it

@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label May 25, 2015
@mattab mattab added this to the 2.14.0 milestone May 25, 2015
@mattab mattab self-assigned this May 25, 2015
mattab pushed a commit that referenced this pull request May 25, 2015
Page URL are stored with HTML entities encoded (sanitized)
@mattab mattab merged commit fe3e5ec into master May 25, 2015
$actionType == Action::TYPE_DOWNLOAD,
$actionType == Action::TYPE_OUTLINK,
);

$isStoredUnsanitized = in_array($actionType, $actionsTypesStoredUnsanitized);
return !$isStoredUnsanitized;
return in_array($actionType, $actionsTypesStoredUnsanitized);
Copy link
Member

Choose a reason for hiding this comment

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

Is this code correct? Won't array($actionType == Action::TYPE_DOWNLOAD, ...) be an array of only true/false?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the review. the logic is broken, I will take a look and maybe add some test

@mnapoli mnapoli deleted the 7989 branch May 26, 2015 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants