Summary: | Parsing token page failed | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libkgapi | Reporter: | Vojtěch Zeisek <Vojtech.Zeisek> |
Component: | General | Assignee: | Daniel Vrátil <dvratil> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | dglent, kde, kdepim-bugs, lukas.zachy |
Priority: | NOR | ||
Version: | 0.4.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/akonadi-google/a5ab37f15f39217cf631f8d61b2ea21305b81490 | Version Fixed In: | 0.4.1 |
Description
Vojtěch Zeisek
2012-06-05 21:25:37 UTC
Git commit 5c92e2fb5ced528a20fd1d8723fd7a8d7ba686a3 by Dan Vrátil. Committed on 06/06/2012 at 00:36. Pushed by dvratil into branch 'LibKGAPI/0.4'. Parse OAuth code from page title instead of body The OAuth code used for obtaining access tokens is provided in webpage <title> as a string. The title is guaranteed not to change syntax, while the body of the page, from which we were parsing the token before, can change anytime, which breaks the authentication process. FIXED-IN: 0.4.1 M +8 -3 libkgapi/ui/authwidget_p.cpp http://commits.kde.org/akonadi-google/5c92e2fb5ced528a20fd1d8723fd7a8d7ba686a3 Git commit a5ab37f15f39217cf631f8d61b2ea21305b81490 by Dan Vrátil. Committed on 06/06/2012 at 00:36. Pushed by dvratil into branch 'master'. Parse OAuth code from page title instead of body The OAuth code used for obtaining access tokens is provided in webpage <title> as a string. The title is guaranteed not to change syntax, while the body of the page, from which we were parsing the token before, can change anytime, which breaks the authentication process. FIXED-IN: 0.4.1 M +8 -3 libkgapi/ui/authwidget_p.cpp http://commits.kde.org/akonadi-google/a5ab37f15f39217cf631f8d61b2ea21305b81490 It is possoble to have this fix for kde 4.8.0 ? I have mageia 2 and the only possible way to update akonadi-google would be a release with the 0.3.2 version (actual version akonadi-google-0.3.1-1.mga2.src.rpm), as the new version Mageia 3 will be released the next year ! http://img502.imageshack.us/img502/8160/konqmageiaforum1.png (In reply to comment #3) > I have mageia 2 and the only possible way to update akonadi-google would be > a release with the 0.3.2 version There will be no further release of akonadi-google ( = no tarballs with libkgoogle library and Akonadi resources together). Here's a proposed solution for you (or any other distributions): Distributions can package stable LibKGAPI. I will setup a scratch repo in git.kde.org/scratch/dvratil/akonadi-google-resources which will contain the Akonadi resources for Google from kdepim-runtime and I'll try to keep it in sync. The repository will have no versions or releases though, but I guess that should not be a problem (you can subscribe to repo RSS feed). The main feature development is going in LibKGAPI anyway and it has stable releases. Thanks very much, i will transfer the message to my distribution maintainers. *** Bug 302124 has been marked as a duplicate of this bug. *** *** Bug 302263 has been marked as a duplicate of this bug. *** |