[DF180327-00881] Check length of file extension after deriving it 86/174486/1
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 2 Apr 2018 10:05:15 +0000 (19:05 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 2 Apr 2018 10:05:22 +0000 (19:05 +0900)
commitc2b8b6a85ea6f71eaccfed49151ac43203b731f9
treea36a5efce962bf5ad6a3af542a554d5d43748fd9
parent0219708e76b5543da3e987782df53ac9069707f1
[DF180327-00881] Check length of file extension after deriving it

If URL is http://xxx.com/sample.txt?version=123, file extension is removed.
It's becuase txt?version=123 is considered as file extension and its lenth is maximum length or more.

Change-Id: I5b0e9436811f80fc050a2d1061b8015b88b3b0de
agent/download-agent-mime-util.c