Bug 4742 - oauth2: adjust oauth2_filter_access
Summary: oauth2: adjust oauth2_filter_access
Status: NEW
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: OAuth2 (show other bugs)
Version: 4.3.0
Hardware: PC All
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2024-01-16 13:16 UTC by olaf
Modified: 2024-02-01 11:02 UTC (History)
0 users

See Also:


Attachments
gtk2-oauth2-adjust-oauth2_filter_access.patch (6.56 KB, patch)
2024-01-16 13:16 UTC, olaf
Details | Diff
master-oauth2-adjust-oauth2_filter_access.patch (6.39 KB, patch)
2024-01-16 13:16 UTC, olaf
Details | Diff

Description olaf 2024-01-16 13:16:18 UTC
Created attachment 2408 [details]
gtk2-oauth2-adjust-oauth2_filter_access.patch

A GRegex needs to be released after usage.
A GMatchInfo needs to be released after usage.

The function g_match_info_fetch returns a string, which needs to be released with g_free. There is no need to duplicate this string.

The value "expires_in" has state "RECOMMENDED", according to RFC 6749. It is not always part of the answer. This means, it is not an error if no expiration date was found.
Comment 1 olaf 2024-01-16 13:16:38 UTC
Created attachment 2409 [details]
master-oauth2-adjust-oauth2_filter_access.patch

Note You need to log in before you can comment on or make changes to this bug.