Giter VIP home page Giter VIP logo

Comments (6)

KY4U avatar KY4U commented on June 6, 2024 1

Hello @kengibous

I discovered an issue with password reset digests not being found in the cache. It turns out that the digest value is added to the cache in its original state (unencoded). That digest is then urlencoded utf8 and emailed to the requester. When the user clicks on the return link, the digest value is improperly urlencoded. This results in the digest value not being found in the cache and the user is unable to change their password.

In HomeController.cs, please change line 51 from:
digest = HttpUtility.UrlDecode(digest);

to

digest = HttpUtility.UrlDecode(digest,Encoding.UTF8);

Thanks!

from bonobo-git-server.

RedX2501 avatar RedX2501 commented on June 6, 2024

@kengibous Any chance of turning that into a PR? Thank you.

from bonobo-git-server.

kengibous avatar kengibous commented on June 6, 2024

@RedX2501 @KY4U Thank you both pull request has been sent

from bonobo-git-server.

RedX2501 avatar RedX2501 commented on June 6, 2024

Merged with 353ee20

from bonobo-git-server.

shnigganoo avatar shnigganoo commented on June 6, 2024

hi, I see this has been closed but it's still broken in the latest release. Any chance this will be fixed soon. I am running version 5.2.0.0 and have the same issue as commented by KY4U on Aug 7, 2015.

Thanks

from bonobo-git-server.

willdean avatar willdean commented on June 6, 2024

I think you'll find it's fixed in 6.0 - you can get the latest pre-release version of that from the AppVeyor link on the front page (look in the AppVeyor Artifacts) .

Take a backup of you database before upgrading, because 6.0 does a big database mod.

from bonobo-git-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.