Prepend protocol if there isn't on url argument 39/54239/2 accepted/tizen/mobile/20151215.055039 accepted/tizen/tv/20151215.055058 accepted/tizen/wearable/20151215.055116 submit/tizen/20151215.032306
authorKyungwook Tak <k.tak@samsung.com>
Mon, 14 Dec 2015 09:06:02 +0000 (18:06 +0900)
committerkyungwook tak <k.tak@samsung.com>
Mon, 14 Dec 2015 09:09:45 +0000 (01:09 -0800)
commitd5387ec23f6316fca2a3856e1fc0c407917137de
tree91ee2af6ce2369208c8c4340b79b62c486e4781a
parentd5ee164d03d9a0faede59c2a0fda94f2fd7b9117
Prepend protocol if there isn't on url argument

 * parser from chromium-efl cannot detect port appendix
   if there isn't protocol info on the head of url.
   (e.g., "www.review.tizen.org:9418")
 * To parse hostname by parser without touching parser,
   prepend protocol info to url if there isn't.
   default prepended protocol is "https"
   ("www.review.tizen.org:9418" -> "https://www.review.tizen.org:9418")

Change-Id: I6e470f5a2397a34390200b00ab198800473d46df
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/common/src/tpkp_common.cpp