diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2015-12-23 16:46:46 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2015-12-23 16:47:02 +0900 |
commit | 4148b5c29e543510ab5b4cd990547d161ea3ccb5 (patch) | |
tree | 18fb169a11e89d23e4c36bba26f53c94759b19be | |
parent | 4066d5269a0ce81ef14d77f905fac9b558e57ca0 (diff) | |
download | libsoup-4148b5c29e543510ab5b4cd990547d161ea3ccb5.tar.gz libsoup-4148b5c29e543510ab5b4cd990547d161ea3ccb5.tar.bz2 libsoup-4148b5c29e543510ab5b4cd990547d161ea3ccb5.zip |
[WGID-21000] Fix the Svace issuesubmit/tizen_ivi/20160217.000006submit/tizen_ivi/20160217.000000submit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen/20151224.011845accepted/tizen/wearable/20151224.062826accepted/tizen/tv/20151224.062748accepted/tizen/mobile/20151224.062711accepted/tizen/ivi/20160218.025200
Change-Id: I14ccd3fde1dcc16b87c4f850cff0525ed719ed9a
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
-rw-r--r-- | libsoup/soup-auth-manager.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libsoup/soup-auth-manager.c b/libsoup/soup-auth-manager.c index f40a9282..41938b03 100644 --- a/libsoup/soup-auth-manager.c +++ b/libsoup/soup-auth-manager.c @@ -453,6 +453,12 @@ lookup_auth (SoupAuthManagerPrivate *priv, SoupMessage *msg) path = soup_message_get_uri (msg)->path; if (!path) path = "/"; + +#if ENABLE(TIZEN_EXT) + if (!host->auth_realms) + return NULL; +#endif + realm = soup_path_map_lookup (host->auth_realms, path); if (realm) return g_hash_table_lookup (host->auths, realm); |