httpx icon indicating copy to clipboard operation
httpx copied to clipboard

It is recommended to save the full favicon_path

Open Wnltc opened this issue 2 years ago • 1 comments

Please describe your feature request:

Favicons for some sites may be saved on other hosts. It is recommended to save the full favicon_path for easier identification

Describe the use case of this feature:

https://support.dbappsecurity.com.cn/

Wnltc avatar Sep 27 '23 14:09 Wnltc

It is recommended to check whether the domain name information is included. If there is a way to request to change the favicon url instead of updating the relative path

for example, the favicon path here in jd.com is incorrect.

https://www.jd.com/

<link rel="icon" href="//www.jd.com/favicon.ico" mce_href="//www.jd.com/favicon.ico" type="image/x-icon"/>

Determine whether href is a relative path. If so, update the relative path. Others suggest creating a new request full path.

yhy0 avatar Nov 29 '23 14:11 yhy0

@Wnltc @yhy0 faivon_url is now additionally returned in latest release - https://github.com/projectdiscovery/httpx/releases/tag/v1.6.5

ehsandeep avatar Jun 24 '24 14:06 ehsandeep