fix:java.ajax 正文图片的缺省headers的优先级:书源>全局
This commit is contained in:
@@ -73,7 +73,7 @@ class AnalyzeUrl(
|
|||||||
init {
|
init {
|
||||||
val urlMatcher = paramPattern.matcher(baseUrl)
|
val urlMatcher = paramPattern.matcher(baseUrl)
|
||||||
if (urlMatcher.find()) baseUrl = baseUrl.substring(0, urlMatcher.start())
|
if (urlMatcher.find()) baseUrl = baseUrl.substring(0, urlMatcher.start())
|
||||||
headerMapF?.let {
|
(headerMapF ?: source?.getHeaderMap(true))?.let {
|
||||||
headerMap.putAll(it)
|
headerMap.putAll(it)
|
||||||
if (it.containsKey("proxy")) {
|
if (it.containsKey("proxy")) {
|
||||||
proxy = it["proxy"]
|
proxy = it["proxy"]
|
||||||
|
|||||||
Reference in New Issue
Block a user