plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Recover Password / Auth::WebGUI /getSiteUrl  (#10883)
Issue

Recovering a password uses getSiteUrl which also delivers a portnumber.

Within a proxy-environment, WebGUI is running on a non-standard port.

In the recovery-message, this port is added to the sitename,
which will not work if the mod_perl-port is blocked by a firewall.

My solution (to change it quickly) in emailRecoveryFinish was:

...

my $url = $session->url->getSiteURL;
$url=~s/:([0-9]*)//;

Solution Summary
Fixed in 7.7.20 and 7.8.0. &nbsp;Made the documentation for webServerPort clearer in the config file. &nbsp;git commit 39b9bd3<br />
Resolved by perlDreamer
Comments
martien
0
9/3/2009 12:55 pm
sorry, the regex didn't work.
This works:
$url=~s!:[0-9]{1,}!!;
perlDreamer
0
9/3/2009 4:53 pm
webServerPort is used internally by WebGUI to generate URLs.  It has nothing to do with the actual port that Apache is listening to.  You should set webServerPort to whatever port your frontend proxy is listening to.
Resolved by perlDreamer
perlDreamer
0
9/3/2009 5:03 pm
Reopening this bug to make the documentation more clearer.
Confirmed by perlDreamer
perlDreamer
0
9/3/2009 5:05 pm
Fixed in 7.7.20 and 7.8.0.  Made the documentation for webServerPort clearer in the config file.  git commit 39b9bd3
Resolved by perlDreamer
martien
0
9/4/2009 3:23 am
ok
Details
Ticket Status Closed  
Rating0.0 
Submitted Bymartien 
Date Submitted2009-09-03 
Assigned To unassigned  
Date Assigned2019-05-22 
Assigned By 
Severity Cosmetic (misspelling, formatting problems)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.7.19 / 7.6.35  
URLuse/bugs/tracker/10883
Keywords
Ticket History
9/4/2009
8:23 AM
Closed martien
9/3/2009
10:05 PM
Resolved perlDreamer
9/3/2009
10:03 PM
Confirmed perlDreamer
9/3/2009
9:53 PM
Resolved perlDreamer
9/3/2009
5:38 PM
Ticket created martien
© 2019 Plain Black Corporation | All Rights Reserved