no whitespaces at beginning or end of a string

This commit is contained in:
FireFart
2013-11-30 20:18:40 +01:00
parent 68605ad409
commit 175bb9206e
4 changed files with 9 additions and 3 deletions

View File

@@ -4,7 +4,9 @@
<xs:simpleType name="stringtype">
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve" />
<xs:minLength value="1" />
<xs:pattern value="[^\s].+[^\s]|[^\s]"/>
</xs:restriction>
</xs:simpleType>

View File

@@ -291,7 +291,7 @@
<fixed_in>1.4.3</fixed_in>
</vulnerability>
<vulnerability>
<title>Floating Social Media Links &lt;= 1.4.2 - fsml-hideshow.js.php wpp Parameter Remote File Inclusion </title>
<title>Floating Social Media Links &lt;= 1.4.2 - fsml-hideshow.js.php wpp Parameter Remote File Inclusion</title>
<references>
<osvdb>88385</osvdb>
<secunia>51346</secunia>
@@ -1902,7 +1902,7 @@
<plugin name="gallery-plugin">
<vulnerability>
<title>Gallery 3.06 - gallery-plugin/upload/php.php File Upload PHP Code Execution </title>
<title>Gallery 3.06 - gallery-plugin/upload/php.php File Upload PHP Code Execution</title>
<references>
<osvdb>82661</osvdb>
<exploitdb>18998</exploitdb>
@@ -9232,7 +9232,7 @@
<plugin name="q-and-a">
<vulnerability>
<title>Q and A 1.0.6.2 - Multiple Scripts Direct Request Path Disclosure </title>
<title>Q and A 1.0.6.2 - Multiple Scripts Direct Request Path Disclosure</title>
<references>
<osvdb>100793</osvdb>
</references>

View File

@@ -4,7 +4,9 @@
<xs:simpleType name="stringtype">
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve" />
<xs:minLength value="1" />
<xs:pattern value="[^\s].+[^\s]|[^\s]"/>
</xs:restriction>
</xs:simpleType>

View File

@@ -4,7 +4,9 @@
<xs:simpleType name="stringtype">
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve" />
<xs:minLength value="1" />
<xs:pattern value="[^\s].+[^\s]|[^\s]"/>
</xs:restriction>
</xs:simpleType>