Open rexleimo opened 3 years ago
当匹配到这样的url的时候 //fundact.eastmoney.com/banner/Hot_Em.html?spm=xlb
public Response metaRefresh(String nextUrl) throws Exception { if (!nextUrl.startsWith("http")) { String prefix = this.getRealUrl(this.httpContext); nextUrl = prefix + nextUrl; }
this.logger.info("Seimi refresh url to={} from={}", nextUrl, this.currentReqBuilder.getUri()); this.currentReqBuilder.setUri(nextUrl); this.httpResponse = this.hc.execute(this.currentReqBuilder.build(), this.httpContext); return this.renderResponse(this.httpResponse, this.currentRequest, this.httpContext); }
这里的拼接就有问题了
欢迎提交经过充分测试的PR
当匹配到这样的url的时候 //fundact.eastmoney.com/banner/Hot_Em.html?spm=xlb
public Response metaRefresh(String nextUrl) throws Exception { if (!nextUrl.startsWith("http")) { String prefix = this.getRealUrl(this.httpContext); nextUrl = prefix + nextUrl; }
这里的拼接就有问题了