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

HTMLPurifier Permission Fix #63

Merged
merged 2 commits into from
Jun 12, 2017
Merged

HTMLPurifier Permission Fix #63

merged 2 commits into from
Jun 12, 2017

Conversation

snebes
Copy link
Contributor

@snebes snebes commented Jun 12, 2017

No description provided.

@jschroed91
Copy link
Member

Looks like we'll need to update the test for this as well

@jschroed91
Copy link
Member

In HTMLPurifierConfigTest.php line 25 change it to:

        $this->config->expects($this->atLeastOnce())
            ->method('set')
            ->withConsecutive(
            	array('Cache.SerializerPath', '/tmp'),
	        array('Cache.SerializerPermissions', 0777)
            );

@snebes
Copy link
Contributor Author

snebes commented Jun 12, 2017

That is close, but I don't think the Cache.SerializerPath setting is actually set in the tests, so I when with the generic $this->anything() parameter.

@jschroed91 jschroed91 merged commit d7540c9 into caxy:master Jun 12, 2017
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.

2 participants