You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function replaceExtension(filename: string, oldExtension: string, newExtension: string): string has a poor response to either the oldExtension or newExtension being null.
With a nulloldExtension it throws TypeError: Cannot read properties of null (reading 'length').
With a nullnewExtension it returns the base filename with the four characters "null" appended.
However, it does not seem to be used anywhere.
Keyman apps
Keyman for Android
Keyman for iPhone and iPad
Keyman for Linux
Keyman for macOS
Keyman for Windows
Keyman Developer
KeymanWeb
Other - give details at bottom of form
The text was updated successfully, but these errors were encountered:
Describe the bug
Function
replaceExtension(filename: string, oldExtension: string, newExtension: string): string
has a poor response to either theoldExtension
ornewExtension
beingnull
.With a
null
oldExtension
it throwsTypeError: Cannot read properties of null (reading 'length')
.With a
null
newExtension
it returns the base filename with the four characters "null" appended.However, it does not seem to be used anywhere.
Keyman apps
The text was updated successfully, but these errors were encountered: