fix(接口测试): 导出cURL中url地址不带query参数
--bug=1046162 --user=王旭 【接口测试】github#32998,【接口调试】get请求带一个query参数,cURL导出后,再进行导入,显示请求地址处有个参数,query处有参数,最终发出去的参数有两个。 https://www.tapd.cn/55049933/s/1578657
This commit is contained in:
parent
153a0482cf
commit
36d920e6d3
|
@ -15,7 +15,7 @@ public interface CurlPatternConstants {
|
|||
/**
|
||||
* URL路径
|
||||
*/
|
||||
Pattern URL_PATH_PATTERN = Pattern.compile("(?:\\s|^)(?:'|\")?(https?://[^\\s'\"]*(?:\\?[^\\s'\"]*)?)(?:'|\")?(?:\\s|$)");
|
||||
Pattern URL_PATH_PATTERN = Pattern.compile("(?:\\s|^)(?:'|\")?(https?://[^?\\s'\"]*)(?:\\?[^\\s'\"]*)?(?:'|\")?(?:\\s|$)");
|
||||
|
||||
/**
|
||||
* URL_PARAMS请求参数
|
||||
|
|
Loading…
Reference in New Issue