First Login URL Addles Menu Assignments

15 years 8 months ago #69926 by beat
Rapunzl wrote:

weird... is it specific to one browser? :huh:


yes, some browsers auto-fix & a m p ; into & !!! but others don't.

I could reproduce and confirm this problem.

Here a short fix for test and feedback:

in comprofiler.php, search in function login for:
[code:1] $return = cbSef($ueConfig);
[/code:1]

and replace that by:
[code:1] $return =$ueConfig;
[/code:1]

then a few lines later search for:
[code:1] $returnURL = (strncasecmp($return, "http:", 5)||strncasecmp($return, "https:", 6)) ? $return : cbSef($return);
} elseif ( ! $returnURL ) {
$returnURL = cbSef('index.php');
[/code:1]

and replace by:
[code:1] $returnURL = (strncasecmp($return, "http:", 5)||strncasecmp($return, "https:", 6)) ? $return : cbSef( $return, false );
} elseif ( ! $returnURL ) {
$returnURL = cbSef( 'index.php', false );
[/code:1]

Please check if that fixes that bug, and feedback in here. Thanks :)

EDIT: fixed a typo in the string to search.

Post edited by: beat, at: 2008/07/31 16:39

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 8 months ago #69929 by beat
Congrats for the good catch, and thanks for feedbacking it B)

Waiting for your feedbacks on the fix :)

Posted as known issue #8 here:

www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,59/id,69928/#69928

It actually could even explain a few more *normal* login and login redirect issues with SEF ON on joomla 1.5...

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 8 months ago #69968 by rbryanh
Replied by rbryanh on topic Re:First Login URL Addles Menu Assignments
Thanks for the superhero fast reply.

Unfortunately, with your tweaks in place I get a blank window at login and logout. Sorry I'm not sufficiently expert to say more than that.

Please Log in to join the conversation.

15 years 8 months ago #70056 by beat
rbryanh wrote:

Thanks for the superhero fast reply.

Unfortunately, with your tweaks in place I get a blank window at login and logout. Sorry I'm not sufficiently expert to say more than that.


I fixed a typo in the first string to search for. The replacements are correct.

If it persists, turn site debug on, it will display the error ;)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 8 months ago #70072 by rbryanh
Replied by rbryanh on topic Re:First Login URL Addles Menu Assignments
Damn, you're good. My espresso mug is trembling with delight. I've written y'all an appropriately delirious review.

Sorry I didn't get it right the first time - the three pre-dinner margaritas may have had something to do with it.

Thanks again,
Bryan

Please Log in to join the conversation.

15 years 8 months ago #70081 by beat
rbryanh wrote:

Damn, you're good. My espresso mug is trembling with delight. I've written y'all an appropriately delirious review.

Sorry I didn't get it right the first time - the three pre-dinner margaritas may have had something to do with it.

Thanks again,
Bryan


Thanks, cool :)

So that issue #8 is fixed for you with those 2 changes ?

Waiting for your confirmation before editing issue #8 to approved change ;)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 1.191 seconds

Facebook Twitter LinkedIn