ant-design/components/upload
偏右 a9376ef1ca
Fix image url display with non-image extention in Upload (#9936)
now we treat url following below rules:

1. `data:image..` => image
2. `http://xxx.com/xxxx.(webp|svg|png|gif|jpg|jpeg)` => image
3. `http://xxx.com/xxx.zip` other extensions => non-image
4. `data:application..` other minetypes in base64 text => non-image
5. `http://xxx.com/xxx` without any extensions => image

close #9835

close #9681

ref #9621
2018-04-04 17:17:01 +08:00
..
__tests__ Fix image url display with non-image extention in Upload (#9936) 2018-04-04 17:17:01 +08:00
demo Fix upload style 2017-10-26 11:59:18 +08:00
style Fix image url display with non-image extention in Upload (#9936) 2018-04-04 17:17:01 +08:00
Dragger.tsx Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
index.en-US.md Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
index.tsx export components interface (#7654) 2017-09-25 22:14:49 +08:00
index.zh-CN.md Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
interface.tsx Fix image url display with non-image extention in Upload (#9936) 2018-04-04 17:17:01 +08:00
Upload.tsx Revert "Convert file object" 2018-03-25 11:40:51 +08:00
UploadList.tsx Fix image url display with non-image extention in Upload (#9936) 2018-04-04 17:17:01 +08:00
utils.tsx Improve upload type definition 2017-11-20 16:43:25 +08:00