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

/plugin/ URL binding return 404 but body is fine. #1695

Closed
outsideris opened this issue Oct 6, 2014 · 3 comments
Closed

/plugin/ URL binding return 404 but body is fine. #1695

outsideris opened this issue Oct 6, 2014 · 3 comments
Assignees
Milestone

Comments

@outsideris
Copy link

PluginURLbinding return body but status code is 404 NOT FOUND.

If plugin use the plugin-url-binding such like '/plugin/GMapCustomInsert/' for Google Map Plugin, http request is like below.

Request URL:http://blog.outsider.ne.kr/plugin/GMapCustomInsert/
Request Method:GET
Status Code:404 Not Found

But body is exist and page is displayed correctly.
And if I remove if (!headers_sent()) Respond::NotFoundPage(); codes in interface/blog/plugin.php, the request return 200 OK.

I use nignx and php-fpm and TextCube 1.9.3.

@inureyes
Copy link
Member

inureyes commented Nov 4, 2014

Plugin-specific URL handler should send header information to clients. So GoogleMap plugin is fixed. 👍

@inureyes inureyes closed this as completed Nov 4, 2014
@outsideris
Copy link
Author

👍
Thank you. I'm wating v1.10.

@inureyes
Copy link
Member

inureyes commented Nov 5, 2014

👍

@inureyes inureyes added the fixed label Dec 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants