Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error in form validation if the action url is from the same host #1349
When the action url is from the same host, the $node->getAttribute( 'action' ) return a relative URL instead of full URL. I could not find why it happens yet, but the
Apart of full URL to relative URL convertion, I believe that a user can have problems while trying to add a regular form with relative URLs. That's why I think it's important to sanitizer detect that and format the URL.
@westonruter I did the PR fae8ab9 with the patch I'm using, but didn't do any further debug. It solves the problem when the original form have relative paths, but it doesn't handle the issue of
Should I use the SVN repository instead for PRs?