Tejas Attarde
dc033a8d5b
fix(FilePath): getBaseName crashes on hidden files like .bashrc ( #821 )
...
* fix(FilePath): getBaseName crashes on hidden files like .bashrc
For hidden files the leading dot caused contains(".") to pass, then
lastIndexOf(".") returned 0, and substring(0, 0) produced an empty
string. FilePath.of("") throws IllegalArgumentException.
Replacing the contains check with lastIndexOf on the filename and
treating lastDot <= 0 as no-extension fixes both the no-dot and
hidden-file cases.
* fix(FilePath): throw IllegalStateException for dotfile in getBaseName
---------
Co-authored-by: Tejas <tejasae-afk@users.noreply.github.com >
2026-04-29 05:30:09 +02:00
crschnick
237b359679
Rework
2026-04-22 02:26:34 +00:00
crschnick
533236cb86
Merge branch 'ssh-quotes' into 23-release
2026-04-21 19:48:13 +00:00
crschnick
65f2faac2c
Improve redact handling for beacon [stage]
2026-04-10 10:01:21 +00:00
crschnick
609bdc478d
Squash merge branch 22-release into master
2026-03-26 11:35:04 +00:00
crschnick
63722c658c
Squash merge branch 21-release into master
2026-02-09 02:43:37 +00:00
crschnick
9abe037213
api and cors fixes
2026-01-04 11:10:29 +00:00
crschnick
32ab3542b8
Squash merge branch 20-release into master
2025-12-28 22:59:25 +00:00
crschnick
c5a93b4412
Fix absolute path check for sftp file systems
2025-12-13 17:43:59 +00:00
crschnick
6404bacbe0
Squash merge branch 19-release into master
2025-11-07 09:20:38 +00:00
crschnick
e13d961377
Various fixes [stage]
2025-08-23 13:40:40 +00:00
crschnick
b024e99fd7
Cleanup
2025-08-21 12:49:37 +00:00
crschnick
da863a690a
Various fixes
2025-08-20 11:47:51 +00:00
crschnick
4bd3cff44b
Reformat
2025-08-20 08:36:53 +00:00
crschnick
b38420758c
Various fixes [stage]
2025-08-19 05:58:24 +00:00
crschnick
1b37099cfa
Various small fixes
2025-08-16 05:58:48 +00:00
crschnick
9d6aa2d340
Squash merge branch 18-release into master
2025-08-15 02:34:05 +00:00
crschnick
bbcf9800ed
Fix base name bug
2025-08-14 03:41:46 +00:00
crschnick
b2032361e4
Squash merge branch 17.x-release into master
2025-07-26 04:40:54 +00:00
crschnick
2b90e5ec66
Action fixes
2025-07-12 21:09:34 +00:00
crschnick
43058e38b5
Squash merge branch 17-release into master
2025-07-10 12:50:37 +00:00
crschnick
f41784f61c
Fully replace .trim() with .strip() [stage]
2025-05-21 06:13:36 +00:00
crschnick
bcf58bc8e4
Improve userprofile check robustness
2025-05-21 06:01:42 +00:00
crschnick
66bf35ba2d
Fix file slash replacement for linux systems not working
2025-05-11 10:03:57 +00:00
crschnick
79ab729bf0
Recognize more shells
2025-05-08 06:52:53 +00:00
crschnick
067e03cc75
Small fixes
2025-05-08 06:36:30 +00:00
crschnick
4c22a1b2c2
Add enpass support
2025-05-06 07:58:25 +00:00
crschnick
90e86a4efb
Add setting for terminal exit prompt
2025-05-05 11:58:11 +00:00
crschnick
601075cde0
Fix shell session NPE
2025-05-03 05:22:20 +00:00
crschnick
80a81eafe4
Fix potential stackoverflow for normalized files
2025-04-29 15:27:22 +00:00
crschnick
e1f9489170
Small fixes
2025-04-24 14:18:50 +00:00
crschnick
cc33a86ded
Merge branch 16-relase into master
2025-04-23 15:34:47 +00:00
crschnick
086237f965
Make install detection more robust
2025-03-19 17:53:45 +00:00
crschnick
4ecc55443a
Fix stackoverflow for some elevation requests
2025-03-17 06:43:34 +00:00
crschnick
d7cb5967c6
Some shell fixes
2025-03-13 12:44:29 +00:00
crschnick
793ca373aa
Properly delegate initialized call [stage]
2025-03-13 08:39:14 +00:00
crschnick
c57000acee
Rework fallback shell
2025-03-13 08:26:04 +00:00
crschnick
572a0f0341
Various performance fixes
2025-03-09 00:56:56 +00:00
crschnick
2f7a2e1b19
Various fixes [stage]
2025-03-03 21:43:11 +00:00
crschnick
ee82a912fa
Various small fixes
2025-03-01 11:40:51 +00:00
crschnick
241954bdd9
Various fixes [stage]
2025-02-26 09:58:18 +00:00
crschnick
dea1b0ff47
Recognize hetzner box
2025-02-23 07:58:22 +00:00
crschnick
2197cbc909
Small fixes
2025-02-16 22:47:16 +00:00
crschnick
d76a799969
Small fixes and translation updates
2025-02-13 12:00:43 +00:00
crschnick
cb937200bc
Fix shell dialect NPE
2025-02-12 10:40:34 +00:00
crschnick
b494c69ded
Squash merge branch 15-release into master
2025-02-11 11:17:48 +00:00
crschnick
833a163e71
Fix broken equals check
2025-01-20 21:55:11 +00:00
crschnick
2a8a10c4d8
Allow json comments
2025-01-17 09:47:22 +00:00
crschnick
45f6545fc8
Squash merge branch 14-release into master
2025-01-16 07:29:55 +00:00
crschnick
c7158a9b94
[stage]
2024-12-11 02:10:08 +00:00