[whatwg/url] Consider adding an "exclude credentials" flag to the URL serializer. (#476)

It seems to me that there are more than a few places where we strip username and password from a URL, then pass it to the URL serializer with the `exclude fragment` flag set. Perhaps we could simplify this by adding an `exclude credentials` flag as well?

Is that a patch you'd accept, @annevk?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/476

Received on Thursday, 16 April 2020 07:28:07 UTC