Skip to content

Commit

Permalink
修复设置header没有空格导致被替换. ijkplayer pr bilibili#4946
Browse files Browse the repository at this point in the history
  • Loading branch information
zzugyl committed Nov 11, 2020
1 parent dea860b commit 4d78fb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ public void setDataSource(String path, Map<String, String> headers)
StringBuilder sb = new StringBuilder();
for(Map.Entry<String, String> entry: headers.entrySet()) {
sb.append(entry.getKey());
sb.append(":");
sb.append(": ");
String value = entry.getValue();
if (!TextUtils.isEmpty(value))
sb.append(entry.getValue());
Expand Down

0 comments on commit 4d78fb3

Please sign in to comment.