Project

General

Profile

Actions

Bug #2109

closed

appears to be missing addslashes to JS usage

Added by krileon almost 14 years ago. Updated over 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 #1

Updated by nant over 13 years ago

  • Status changed from New to Resolved
  • Target version set to 1.2

r1467

Actions #2

Updated by nant over 13 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 2:00 h
Actions #3

Updated by nant over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF