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 signature check for sub-folder WP installs #78

Merged
merged 1 commit into from
Nov 22, 2015

Conversation

thiago-negri
Copy link
Contributor

Signature checking duplicates the WP install folder when building the
request URI.

For example, if you have a WordPress running on "www.example.com/wp", the
signature checker will use URLs like "www.example.com/wp/wp/...".

This commit removes the WordPress base directory from the checked path.

See #32, #34, #27

Signature checking duplicates the WP install folder when building the
request URI.

For example, if you have a WordPress running on "www.example.com/wp", the
signature checker will use URLs like "www.example.com/wp/wp/...".

This commit removes the WordPress base directory from the checked path.

See !32, WP-API#34, WP-API#27
@rmccue
Copy link
Member

rmccue commented Nov 22, 2015

Thanks for this! 🌴

rmccue added a commit that referenced this pull request Nov 22, 2015
Fix signature check for sub-folder WP installs
@rmccue rmccue merged commit f8fa82d into WP-API:master Nov 22, 2015
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.

None yet

2 participants