Careless use of decode_entities() can result in security vulnerabilities. Patch to add a warning to the doxygen comments, as well as some doc clean-up.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Damien Tournoud’s picture

Status: Active » Reviewed & tested by the community

That's a reasonable improvement.

jbrown’s picture

Status: Reviewed & tested by the community » Needs work

it should be @return , not @returns

mr.baileys’s picture

Status: Needs work » Needs review
FileSize
1.24 KB

Indeed it should, thanks!

Damien Tournoud’s picture

Status: Needs review » Reviewed & tested by the community

Good catch.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Damien Tournoud’s picture

Version: 7.x-dev » 6.x-dev
Status: Fixed » Patch (to be ported)

Let's consider a backport to D6.

mr.baileys’s picture

Status: Patch (to be ported) » Needs review
FileSize
1.23 KB

Straight backport

Damien Tournoud’s picture

Status: Needs review » Reviewed & tested by the community

Doesn't hurt to get into D6 too, I believe.

Gábor Hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Committed thank you!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.