TenEniunlsl
  • Posts: 14
  • Joined: 26/06/2018
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
  • Posts: 14
  • Joined: 26/06/2018
Version 2.2.4.12
tha_watcha
  • Posts: 4080
  • Joined: 06/03/2010
Thanks for the report! Issue is fixed in 2.2.4.13
UserPostedImage
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.

    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