Changeset 10429 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-validator.php
- Timestamp:
- 11/05/2020 03:37:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-validator.php
r10277 r10429 64 64 public function validate_content( $readme ) { 65 65 66 // Security note: Keep the data: protocol here, Parser accepts a string HOWEVER 67 // if a submitted readme.txt URL contents were to contain a file or URL-like string, 68 // it could bypass the protections above in validate_url(). 66 69 $readme = new Parser( 'data:text/plain,' . urlencode( $readme ) ); 67 70
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)