karmantyu
a9f4fdc8ca
Corrected escape, removed broad, unanchored regex checks .
2026-02-08 08:34:32 +01:00
karmantyu
b593501cff
Some fixes.
...
All $err type error messages in HTML are safely escaped now.
URL-encoding in links:
I have implemented urlize() in all places where user input ($in{'device'}, $in{'slice'}, $in{'part'}) was included in the URL (footer/redirect/other link), e.g. edit_slice.cgi?device=...&slice=....
Affected files include: create_part.cgi, create_slice.cgi, delete_part.cgi, delete_slice.cgi, change_slice_label.cgi, part_form.cgi, slice_form.cgi, edit_slice.cgi, edit_part.cgi, fsck.cgi, newfs.cgi, newfs_form.cgi, save_part.cgi, save_slice.cgi, save_slice_label.cgi, zfs_create.cgi, zvol_create.cgi.
2026-02-07 19:43:08 +01:00
karmantyu
d9be1b956f
bsdfdisk-lib.pl patched to enumerate nda* devices
...
Related to the NVMe issue: I patched bsdfdisk-lib.pl to enumerate nda* devices (in addition to nvd*), since the reporter uses the nda driver.
2026-02-06 18:38:10 +01:00
karmantyu
b2f54c36ca
Some tidy up and numeric validation + quote_path.
2026-02-04 08:42:44 +01:00
karmantyu
859580a224
Tidy up.
2026-02-02 07:50:07 +01:00
karmantyu
30b2e8b6d4
Security and other minor changes.
2026-02-01 11:39:57 +01:00
karmantyu
63fd68b2f9
proper escape the dataset name
2026-01-31 21:16:53 +01:00
karmantyu
8402db53d5
Improved disk detection, smart status, partition mounting, added label handling, zfs filesystem/volume creation.
2026-01-31 20:55:00 +01:00
karmantyu
032f4447db
Add files via upload
...
gpart edition
2026-01-23 19:41:57 +01:00
iliajie
d0ed6f944e
Fix pointless warnings flooding error log
2022-06-30 13:08:38 +03:00
Jamie Cameron
3a6426858d
Always quote
2022-05-13 23:50:45 -07:00
Jamie Cameron
92369af3d7
Support systems with more than 10 disks https://sourceforge.net/p/webadmin/bugs/5530/
2021-12-04 08:44:28 -08:00
Jamie Cameron
a2dc3f7124
Switch all calls to open() to explicitly open for read
2020-03-14 17:20:54 -07:00
Jamie Cameron
760635c453
Don't try to get partitions on a missing slice https://www.virtualmin.com/node/27848
2013-06-05 14:03:17 -07:00
Jamie Cameron
8a3c78d60c
Handle model format seen on FreeBSD 8
2013-05-12 21:08:46 -07:00
Jamie Cameron
56e5bec6b3
Allow creation of filesystem on a slice
2013-04-04 22:19:45 -07:00
Jamie Cameron
265b5a32f9
Add to appropriate package builders
2013-03-30 14:19:06 -07:00
Jamie Cameron
e7ca2ffdbe
Finished off FreeBSD fdisk module
2013-03-30 14:17:28 -07:00
Jamie Cameron
5cf4f8f561
Partition creation, deleting and newfs code
2013-03-30 11:07:44 -07:00
Jamie Cameron
83b67e0ff6
Work on partition creation form
2013-03-28 23:16:28 -07:00
Jamie Cameron
b8b7726e2e
Create default parts on a slice
2013-03-28 17:14:08 -07:00
Jamie Cameron
e6a5fa4448
Slice creation and deletion now working
2013-03-27 17:06:33 -07:00
Jamie Cameron
3d9bfe2e6d
Slice deletion page
2013-03-26 22:31:44 -07:00
Jamie Cameron
6ba2a72a48
Start of slice deletion form
2013-03-25 22:28:44 -07:00
Jamie Cameron
bc6499851b
Use disk partition select box
2013-03-25 21:09:37 -07:00
Jamie Cameron
1019acf932
Fix display of extent, slice name, other bugs
2013-03-23 18:49:05 -07:00
Jamie Cameron
bfb3a9a5ed
smart / freebsd integration
2013-03-20 16:20:04 -07:00
Jamie Cameron
581fe25037
Work on partition editing page
2013-03-20 15:03:38 -07:00
Jamie Cameron
fbd44b6c70
Basic FreeBSD disk list
2013-03-19 17:53:37 -07:00
Jamie Cameron
c4090afca2
Skeleton for FreeBSD fdisk module
2013-03-16 17:13:57 -07:00