Commit 9dca57bfb9456a21c271c592ff1e7c74b94a131b
1 parent
e5dade06
Exists in
master
and in
1 other branch
[Feat] Adicionando mais um passo na conversão de caracteres especiais.
Foi adicionado o htmlentities para converter todos os caracters em html entity evitando problemas de trechos de html do SEI CORE com charset=iso-8859-1.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
MdWsSeiRest.php
| ... | ... | @@ -24,7 +24,7 @@ class MdWsSeiRest extends SeiIntegracao |
| 24 | 24 | }else if(is_bool($item)){ |
| 25 | 25 | return $item; |
| 26 | 26 | }else{ |
| 27 | - return utf8_encode(htmlspecialchars($item)); | |
| 27 | + return utf8_encode(htmlspecialchars(htmlentities($item))); | |
| 28 | 28 | } |
| 29 | 29 | $response = array(); |
| 30 | 30 | foreach($itemArr as $key => $val){ | ... | ... |