Changeset 2863 in subversion
- Timestamp:
- Aug 19, 2009 2:33:26 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/lib/washtml.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/lib/washtml.php
r2816 r2863 172 172 $value = $node->getAttribute($key); 173 173 if(isset($this->_html_attribs[$key]) || 174 ($key == 'href' && preg_match('/^(http |https|ftp|mailto):.+/i', $value)))174 ($key == 'href' && preg_match('/^(http:|https:|ftp:|mailto:|#).+/i', $value))) 175 175 $t .= ' ' . $key . '="' . htmlspecialchars($value, ENT_QUOTES) . '"'; 176 176 else if($key == 'style' && ($style = $this->wash_style($value)))
Note: See TracChangeset
for help on using the changeset viewer.
