Project

General

Profile

Actions

Bug #2109

closed

appears to be missing addslashes to JS usage

Added by krileon over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
29 November 2010
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

When you have a description and title such as the following.

ju"st a te'st

It will result in the edit button no longer being functional with the following JS error.

missing ) after argument list
index.php?option=com_comprofiler&task=userProfile&user=89&Itemid=2&tab=getprofilegallerytab
Line 1

Appears to be due to missing addslashes during the JS usage and can be seen in the href of the image it self as follows.

javascript:pgpopup('images/comprofiler/plug_profilegallery/89/pg_1095136107.jpg','ju"st a te\'st','ju"st a te\'st')

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,143775/catid,123/limit,6/limitstart,6/

Actions

Also available in: Atom PDF