diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2018-11-20 23:31:37 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2018-11-22 13:06:16 +0000 |
commit | c85304484261af2fc046c909087549799a5979f9 (patch) | |
tree | 50a8ef43ba4db67722daf247f4edb036ccc72646 /examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc | |
parent | b69560d2b48d2dde568b0b7d5bf40adb21f61f95 (diff) |
Use 127.0.0.1 for redirect URI
Following section 8.3 of RFC 8252
(https://tools.ietf.org/html/rfc8252#section-8.3), it is specifically
not recommended to use localhost but 127.0.0.1. This patch fixes that.
[ChangeLog][General] Use 127.0.0.1 in place of localhost for redirect
URI following RFC 8252.
Fixes: QTBUG-67528
Change-Id: I6f5a8dd26134cde2373185eaf2c8853d6f500e98
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc')
-rw-r--r-- | examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc b/examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc index 6106ef1..a8af6d5 100644 --- a/examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc +++ b/examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc @@ -40,7 +40,7 @@ To use this example, a consumer key from Reddit is needed. To register the application visit https://www.reddit.com/prefs/apps/. \note Choose \e {installed app} when creating the application. - \note Set the redirect URI to \e http://localhost:1337/ in Reddit settings. + \note Set the redirect URI to \e http://127.0.0.1:1337/ in Reddit settings. \include examples-run.qdocinc */ |