TenEniunlsl
2018-07-09T09:09:09Z
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
TenEniunlsl
2018-07-09T09:23:11Z
tha_watcha
2018-07-10T09:28:47Z
Thanks for the report! Issue is fixed in 2.2.4.13
UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved