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 bad content-type in captcha response #15

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

Conversation

sclausen
Copy link

In some undiscovered cases, the content-type of the captcha-page will be text/plain instead of text/html.
a blank new meteor-project with sikka doesn't send the captcha-page in text/html, but unfortunately my more complex meteor-app does. I don't know why, but the response content-type in line 42 seems to be wrong. It should be 'text/html' not 'html'. Changing this fixed the problem for me.

In some undiscovered cases, the content-type of the captcha-page will be text/plain instead of text/html.
a blank new meteor-project with sikka doesn't send the captcha-page in text/html, but unfortunately my more complex meteor-app does. I don't know why, but the response content-type in line 42 seems to be wrong. It should be 'text/html' not 'html'. Changing this fixed the problem for me.
@sys13
Copy link

sys13 commented Jan 18, 2016

This pull-request was necessary for me to use Sikka as well. I think it should be merged.

@sys13
Copy link

sys13 commented Jan 19, 2016

Pinging @arunoda since there haven't been updates to this repo/pull-request for a while.

@michaelrokosh
Copy link

@arunoda I have the same issue.

@MaxPleaner
Copy link

MaxPleaner commented May 6, 2017

I was going to make a PR for the same change but realized I forgot to check if someone had done it first. Thanks!

@MaxPleaner
Copy link

MaxPleaner commented May 6, 2017

Maybe the https://github.com/xunga/sikka-CM fork would be better to use, since it's been updated more than this repo.

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.

4 participants