Index: trunk/extensions/DonationInterface/gateway_common/DonationData.php |
— | — | @@ -252,7 +252,9 @@ |
253 | 253 | */ |
254 | 254 | public function getVal_Escaped( $key ) { |
255 | 255 | if ( $this->isSomething( $key ) ) { |
256 | | - return $this->sanitizeInput( $this->normalized[$key], $key ); |
| 256 | + //TODO: If we ever start sanitizing in a more complicated way, we should move this |
| 257 | + //off to a function and have both getVal_Escaped and sanitizeInput call that. |
| 258 | + return htmlspecialchars( $this->normalized[$key], ENT_COMPAT, 'UTF-8', false ); |
257 | 259 | } else { |
258 | 260 | return null; |
259 | 261 | } |