Skip to content

Commit ae5ad48

Browse files
committed
More merge oversights...
1 parent 6010245 commit ae5ad48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,5 +675,5 @@ export function getAcceptControllingResponse(responses) {
675675
return suitable2xxResponse || suitableDefaultResponse
676676
}
677677

678-
export const createDeepLinkPath = (str) => str ? str.replace(/\s/g, "_") : ""
678+
export const createDeepLinkPath = (str) => typeof str == "string" || str instanceof String ? str.trim().replace(/\s/g, "_") : ""
679679
export const escapeDeepLinkPath = (str) => cssEscape( createDeepLinkPath(str) )

0 commit comments

Comments
 (0)