When clicking on "share", the resulting curl links are invalid because the query contains comments whose semantics are "everything until the next newline is a comment" but in the curl requests the (relevant!) newlines are replaced by spaces.
Just learned that GitHub closes issues automatically when you refer to the issue in the commit message :o Anyway, thanks + I made the same experience earlier today when clicking on @WolfgangFahl's query :-)
Consider for example this query.
When clicking on "share", the resulting curl links are invalid because the query contains comments whose semantics are "everything until the next newline is a comment" but in the curl requests the (relevant!) newlines are replaced by spaces.