already logged to support:
http://support.dotnetnuke.com/issue/V...
In the mean time - checked thru the code in URLRewriteModule,cs - and yes the code for remapping /Register.aspx to a custom rego module is missing - all the code is there for login.aspx but its missing for register,aspx.
Current code is:
if
((tabPath ==
"/register.aspx"
))
{
if
((!String.IsNullOrEmpty(app.Request.Url.Query)))
{
RewriterUtils.RewriteUrl(app.Context,
"~/"
+ Globals.glbDefaultPage +
"?portalid="
+ portalID +
"&ctl=Register&"
+ app.Request.Url.Query.TrimStart(
'?'
));
}
else
{
RewriterUtils.RewriteUrl(app.Context,
"~/"
+ Globals.glbDefaultPage +
"?portalid="
+ portalID +
"&ctl=Register"
);
}
return
;
}
It should look like this:
if
((tabPath ==
"/register.aspx"
))
{
//Get the Portal
PortalInfo portal =
new
PortalController().GetPortal(portalID);
if
(portal.RegisterTabId > Null.NullInteger)
{
if
((!String.IsNullOrEmpty(app.Request.Url.Query)))
{
RewriterUtils.RewriteUrl(app.Context,
"~/"
+ Globals.glbDefaultPage +
"?TabID="
+ portal.RegisterTabId + app.Request.Url.Query.TrimStart(
'?'
));
}
else
{
RewriterUtils.RewriteUrl(app.Context,
"~/"
+ Globals.glbDefaultPage +
"?TabID="
+ portal.RegisterTabId);
}
return
;
}
else
{
if
((!String.IsNullOrEmpty(app.Request.Url.Query)))
{
RewriterUtils.RewriteUrl(app.Context,
"~/"
+ Globals.glbDefaultPage +
"?portalid="
+ portalID +
"&ctl=Register&"
+ app.Request.Url.Query.TrimStart(
'?'
));
}
else
{
RewriterUtils.RewriteUrl(app.Context,
"~/"
+ Globals.glbDefaultPage +
"?portalid="
+ portalID +
"&ctl=Register"
);
}
return
;
}
}
Westa