Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

TypeError: Cannot read property 'replace' of null #18

Closed
FrancisKong opened this issue Mar 1, 2017 · 2 comments
Closed

TypeError: Cannot read property 'replace' of null #18

FrancisKong opened this issue Mar 1, 2017 · 2 comments

Comments

@FrancisKong
Copy link

https://github.com/lsxiao/qiniu4js/blob/master/dist/qiniu4js.es.js#L1181

这里没有对encodedKey是否为null进行判断,导致在没有指定taskkey值并使用分片上传时,出现 TypeError: Cannot read property 'replace' of null

@Sloaix
Copy link
Owner

Sloaix commented Mar 2, 2017

今天下班后我会尽快修复。:)

@Sloaix Sloaix closed this as completed Mar 2, 2017
@Sloaix Sloaix reopened this Mar 2, 2017
@Sloaix Sloaix closed this as completed in 3621c4b Mar 3, 2017
@Sloaix
Copy link
Owner

Sloaix commented Mar 3, 2017

之前pr没有仔细检查导致的,已修复了。1.0.10试试。

Sloaix added a commit that referenced this issue May 25, 2017
fix #18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants