curl / curl-www

The curl.se website
https://curl.se/
MIT License
101 stars 88 forks source link

"File a bug about this page" links ignore specified title and label #351

Open abbeyj opened 1 month ago

abbeyj commented 1 month ago

The documentation pages have links saying "File a bug about this page". For example https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html has a link pointing to https://github.com/curl/curl/issues/new?title=CURLOPT_SSL_VERIFYHOST%20man%20page:&labels=documentation .

Unfortunately that URL now redirects to https://github.com/curl/curl/issues/new/choose . Even if you pick the "Bug Report" option from that page, the title of "CURLOPT_SSL_VERIFYHOST man page:" and the label of "documentation" are lost.

Adding &template=bug_report.yml to the end of the URL to produce https://github.com/curl/curl/issues/new?title=CURLOPT_SSL_VERIFYHOST%20man%20page:&labels=documentation&template=bug_report.yml will fix the issue with the title being lost, but it does not fix the label. The fields in this template may not be the most relevant for a documentation-only bug. Perhaps a separate template for documentation bugs would be useful?

bagder commented 3 days ago

This seems to work fine for me?