Skip to content

Avoid empty files if the encoding isnt ascii #18

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

landryb
Copy link
Contributor

@landryb landryb commented Oct 4, 2016

If the awstats data file is iso-8859, htmlspecialchars barfs and returns an empty string, and thus clsAwstats cant parse the file, and returns 0 visits/pages/etc. Adding ENT_SUBSTITUTE worksaround this..

@bacinsky
Copy link
Member

Commit 91053db cherry-picked into develop branch but the 1648554 results in conflict cause there is a workaround using ENT_IGNORE already, use develop branch not master, for latest code.

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

Successfully merging this pull request may close these issues.

2 participants