Closed (fixed)
Project:
Web File Manager
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2007 at 17:18 UTC
Updated:
16 Jun 2007 at 06:48 UTC
Good evening
Thanks a lot for this great Module!
I've found a small bug: If a user enters a special character in one of the Metadata-Form-Fields, e.g.:
ftitle: Tom's Test
then it will be displayed as:
Tom'\;s Test
(Without the \)
I assume that's no big problem...
Kind regards,
Thomas
Comments
Comment #1
robmilne commentedYou can do the following to remedy your problem:
Replace line 431 of webfm.module:
with this:
Since there is zero security risk here (the name isn't referenced by the link - the fid is) I'll remove the 'check_plain' in subsequent revs.
Comment #2
schittli commentedGood evening
Thank you very much for your fast answer & solution!
It always looks like a miracle if mixed php & html works...
Kind regard,
thomas
Comment #3
robmilne commentedComment #4
(not verified) commented