openequella / moodle-block_openEQUELLA_search

Moodle block for searching openEQUELLA
GNU General Public License v3.0
1 stars 6 forks source link

equella_search_api.php sanitise vars #5

Open danmarsden opened 8 years ago

danmarsden commented 8 years ago

it would be nice if some of the vars returned by the equella search api were sanitised before injecting directly in the html. particularly: $itemUuid, $itemUrl, $itemFile, $attUuid

danmarsden commented 8 years ago

clean_param() is probably an easy function that could be used.

dcai commented 8 years ago

@danmarsden

Hi Dan! Just a heads-up, everyone in this organisation no longer works for EQUELLA (Pearson), so all projects here are not maintained (so far).

danmarsden commented 8 years ago

haha - good to know thanks Dongsheng!

abidingotter commented 8 years ago

Although, feel free to submit pull requests :)