Bug #1340
closedcancel button on profile update page when clicked is double htmlspecial the itemid
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/
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 .
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)
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
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 ")" ...
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