Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline TenEniunlsl  
#1 Posted : Monday, July 9, 2018 9:09:09 AM(UTC)
TenEniunlsl


Rank: YAF Forumling

Reputation:

Joined: 6/26/2018(UTC)
Posts: 8
Germany
Location: Augsburg

Hi,

i have found a BUG
Click on Mail Button on a Post redirects you to Forbidden Page
so i have locked into the Code and seen the Convertig of UserID string to int have a Problem

Quote:

/// <summary>
/// Gets UserID.
/// </summary>
public int UserId
{
get
{
return Security.StringToLongOrRedirect(this.Get<HttpRequestBase>().QueryString["u"]).ToTyped<int>();
}
}
´

In my Example i get a string "35" from QueryString and the ToTyped<int> gets 0 as int

Thanks
Sponsor
Offline TenEniunlsl  
#2 Posted : Monday, July 9, 2018 9:23:11 AM(UTC)
TenEniunlsl


Rank: YAF Forumling

Reputation:

Joined: 6/26/2018(UTC)
Posts: 8
Germany
Location: Augsburg

Version 2.2.4.12
Offline tha_watcha  
#3 Posted : Tuesday, July 10, 2018 9:28:47 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,835
Germany

Thanks: 70 times
Was thanked: 1174 time(s) in 1004 post(s)
Thanks for the report! Issue is fixed in 2.2.4.13
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error