Project

General

Profile

Actions

Bug #1340

closed

cancel button on profile update page when clicked is double htmlspecial the itemid

Added by krileon almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03 December 2009
Due date:
% Done:

100%

Estimated time:
0:06 h

Description

Itemid for the cancel button URL is having htmlspecial applied to it due to cbSef function before redirecting while inside of JS. This is causing it to output inside the browser as htmlspecial rather then translated.

In: components/com_comprofiler/comprofiler.html.php
On: 307

From:
window.location='id == $_CB_framework->myId() ) ? '' : ( '&user=' . $user->id ) ) . getCBprofileItemid( true ) ); ?>';

To:
window.location='id == $_CB_framework->myId() ) ? '' : ( '&user=' . $user->id ) ) . getCBprofileItemid(), false ); ?>';

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,118151/catid,100/

Actions #1

Updated by beat almost 15 years ago

  • Status changed from New to Closed
  • Assignee set to beat
  • Target version set to CB 1.2.2
  • % Done changed from 0 to 100
  • Estimated time set to 0:06 h

Fixed for CB 1.2.2 in r816 .

Actions #2

Updated by beat almost 15 years ago

Actually that fix isn't enough, you need also to remove the amp; from the user link too..

Fixed in r845
(just after 1.2.2 beta 1)

Actions #3

Updated by krileon almost 15 years ago

Issue not resolve; URL is still double htmlspecialed: http://localhost/cb/j15clone/index.php?option=com_comprofiler&Itemid=53

Line 274

Actions #4

Updated by beat almost 15 years ago

krileon wrote:

Issue not resolve; URL is still double htmlspecialed: http://localhost/cb/j15clone/index.php?option=com_comprofiler&Itemid=53

Line 274

Should befixed in b2, was a wrongly placed ")" ...

Actions #5

Updated by beat almost 15 years ago

Fixed in r885 again leftover bug: the javascript got moved to head but htmlspecialchared, making a leftover bug:
cancel button on profile update page when clicked is htmlspecial everything

Actions

Also available in: Atom PDF