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/twittertimeline | |
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/twittertimeline')
-rw-r--r-- | examples/oauth/twittertimeline/doc/src/qtnetworkauth-twittertimeline.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/oauth/twittertimeline/doc/src/qtnetworkauth-twittertimeline.qdoc b/examples/oauth/twittertimeline/doc/src/qtnetworkauth-twittertimeline.qdoc index 2a7fa4c..213ea86 100644 --- a/examples/oauth/twittertimeline/doc/src/qtnetworkauth-twittertimeline.qdoc +++ b/examples/oauth/twittertimeline/doc/src/qtnetworkauth-twittertimeline.qdoc @@ -39,7 +39,7 @@ To use this example, a consumer key and secret from Twitter are needed. To register the application visit https://apps.twitter.com. - You’ll need to add \e http://localhost:1337/callback as a callback URL + You’ll need to add \e http://127.0.0.1:1337/callback as a callback URL in your Twitter app settings. \include examples-run.qdocinc |