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 content-type error where $h is a ref but not an array #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

redhotpenguin
Copy link

Ran into an odd error where $h was a reference, but not an array. This fix explicitly checks to see if $h is an array reference before dereferencing it.

Copy link
Member

@oalders oalders left a comment

Choose a reason for hiding this comment

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

Thanks! Could you add a test for this?

@redhotpenguin
Copy link
Author

I would love to but don't see any easy way to do so. I haven't been able to reproduce this outside of where it's occurring on our test server using a swagger module. If you don't mind keeping this open for a while, I'll see if I can figure it out.

@oalders
Copy link
Member

oalders commented Sep 20, 2016

Sure, let's keep this open.

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