Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Added Content Security Policy 1.0 header class #5316

Merged
merged 1 commit into from
Oct 22, 2013
Merged

Added Content Security Policy 1.0 header class #5316

merged 1 commit into from
Oct 22, 2013

Conversation

whymarrh
Copy link
Contributor

There seems to not be a Content Security Policy 1.0 Header class in Zend\Http\Header, so this is an implementation.

The Candidate Recommendation: http://www.w3.org/TR/CSP/

If this goes through, I can update the docs as needed.

@whymarrh
Copy link
Contributor Author

It seems that the failing test is not mine: ZendTest\Http\ClientTest::testUsageOfCustomResponseInvalidCode.

*
* @param string $name The directive name.
* @param array $sources The source list.
* @return $this
Copy link
Contributor

Choose a reason for hiding this comment

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

@return self

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@ghost ghost assigned Maks3w Oct 22, 2013
Maks3w added a commit that referenced this pull request Oct 22, 2013
@Maks3w Maks3w merged commit 01bcac8 into zendframework:develop Oct 22, 2013
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants