Skip to content

Commit

Permalink
Hotfix: Support viewing kotlin files MobSF#2283
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham authored Nov 14, 2023
1 parent 231709f commit 4685d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobsf/StaticAnalyzer/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def clean_file(self):
or ('..' in file) or ('%252e' in file)):
raise forms.ValidationError('Attack Detected')
# Allowed File extensions
supported_ext = (r'^\.(java|smali|xml|'
supported_ext = (r'^\.(kt|java|smali|xml|'
r'plist|m|swift|'
r'db|sqlitedb|sqlite|txt|json)$')
if not re.search(supported_ext, Path(file).suffix):
Expand Down

0 comments on commit 4685d8e

Please sign in to comment.