Skip to content

Validate url in locate template#5076

Open
PypWalters wants to merge 3 commits intoWordPress:trunkfrom
PypWalters:feature/validate-url-in-locate-template
Open

Validate url in locate template#5076
PypWalters wants to merge 3 commits intoWordPress:trunkfrom
PypWalters:feature/validate-url-in-locate-template

Conversation

@PypWalters
Copy link

Uses validate_file to ensure that the paths processed by locate_template are not directory traversals, Windows drive paths, etc...

Trac ticket:
https://core.trac.wordpress.org/ticket/58905


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

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.

1 participant