Closed xmaxmex closed 3 years ago
I see you're outputting directly into HTML, so... replace $item->getProperty('name')
with htmlspecialchars($item->getProperty('name'))
.
Thanks,
It Works ;)
Claudemir P. da Luz Jr. Consultor GNU Linux / Software Livre Cel:(91) 98236-4209 msn: xmaxmex@yahoo.com.br
Em qua., 26 de fev. de 2020 às 03:22, Vasil Rangelov < notifications@github.com> escreveu:
I see you're outputting directly into HTML, so... replace $item->getProperty('name') with htmlspecialchars($item->getProperty('name')).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pear2/Net_RouterOS/issues/63?email_source=notifications&email_token=ACVFJFJ5UNLZ7EHQTPI4J3DREYDAXA5CNFSM4K3YSB42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM6625Q#issuecomment-591261046, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVFJFM3LIPIZ4QWODCVOVTREYDAXANCNFSM4K3YSB4Q .
Hi,
sample code:
}
Item with <> in names, return NULL ??
Example: $item->getProperty('name'), return
Return null. Any help ?