Content-Length: 289588 | pFad | https://github.com/nodejs/node/commit/f10239fde7
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa667d6 commit f10239fCopy full SHA for f10239f
lib/internal/util/debuglog.js
@@ -173,7 +173,7 @@ function formatTime(ms) {
173
}
174
175
function safeTraceLabel(label) {
176
- return label.replace(/\\/g, '\\\\').replaceAll('"', '\\"');
+ return label.replaceAll('\\', '\\\\').replaceAll('"', '\\"');
177
178
179
/**
lib/url.js
@@ -705,7 +705,7 @@ Url.prototype.format = function format() {
705
706
707
708
- search = search.replace(/#/g, '%23');
+ search = search.replaceAll('#', '%23');
709
710
if (hash && hash.charCodeAt(0) !== CHAR_HASH)
711
hash = '#' + hash;
Fetched URL: https://github.com/nodejs/node/commit/f10239fde7
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments