| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
update_config_field() from wizard.php by constructing a variable reference, then set the value using the reference rather than passing user input through eval(). Fixes #7230
|
|
|
|
|
|
| |
parameters can be submitted via POST. Also, remove the JavaScript confirmation box since it is now redundant. Fixes #7228
The confirmation page displays the submitted parameters for an extra user sanity check. Also fixed a bunch of page formatting issues that were not apparent because users rarely if ever saw output from the page.
|
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 282d025d9756ba8ace2bcfa092e87d5ad6d338da)
|
| |
|
|
|
|
| |
default.
|
| |
|
| |
|
|
|
|
| |
#7110
|
|
|
|
| |
#7053
|
| |
|
|
|
|
| |
placeholder with the default while I'm here. Fixes #7034
|
|
|
|
|
|
| |
For numbers greater than 1000 format_number() returns strings formatted like N.NNN K/M/G/T, that get cut to only the integer part if '%d' is used.
(cherry picked from commit ef0e956e48ec1b97a307a546cbc24d00872cde1f)
|
| |
|
|
|
|
| |
code doesn't offer to submit a crash report. A notice is still generated since PHP <7 doesn't yet have error_clear_last(). Fixes #6702
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
errors. Fixes #6838
|
| |
|
|
|
|
| |
(cherry picked from commit f3838572c59ea5ebe656851511c75d217afec815)
|
| |
|
|
|
|
| |
keyboard-interactive fails. Fixes #6963
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Expand the types of Form_IpAddress so that the caller can specify
exactly what combination of IPv4, IPv6 address and alias is allowed for
the field.
Set the appropriate input pattern and hover help text.
Only toLowercase() the entered value if it has a ":" in it - i.e. it
looks like it is intended to be an IPv6 address (rather than an IPv4 or
an alias name).
|
|
|
|
|
|
|
|
| |
checksum offload".
Ticket #5321
(cherry picked from commit 411d4e6e55475cc66b997ca3e47478dbe10b4e1b)
|
|
|
|
|
|
| |
than one CARP vip is configured for an interface.
(cherry picked from commit 5116a8aa60ad87c0a47aafeca422cc323147ea14)
|
|
|
|
|
|
|
| |
As it is no longer relevant, because the code now automatically converts
to lowercase.
(cherry picked from commit 6a54698517430760ddcbc84dd0476046d3926b31)
|
|
|
|
|
|
|
|
|
|
| |
1) As the user leaves the field, or presses Save, onChange will fire and
convert the input string to lowercase. This saves the user havng to even
think about it.
2) Provide some extra text that describes the expected format, to avoid
them getting just "Please match the requested format"
(cherry picked from commit d461ff40e364fc0ecc003b9f673cbad7c6a08f2f)
|
| |
|
|
|
|
| |
archive.org since they offer no current equivalent and no other suitable replacement page is immediately available. Fixes #6781
|
|
|
|
|
|
|
|
| |
extensions.ini must be readable by any users otherwise any php script
called by a non-root user will not be able to use PHP extensions
This is a direct fix for RELENG_2_3_2 since extensions.ini is not being
used anymore on RELENG_2_3 or master
|
|
|
|
|
| |
Obtained from: https://github.com/phil-davis/Net_IPv6/commit/638b96a253164b65c63825c38e79812b6c5f448d
Submitted by: @phil-davis
|
|
|
|
| |
became a package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use case:
1) Edit a gateway that has no advanced settings (i.e. the Advanced section does not need to open on page load) - that works fine.
2) Modify the Gateway IP Address to something invalid like 1:2::z
3) Press Save
The error is shown - "A valid gateway IP address must be specified" - good.
The Advanced section is shown - not good.
The problem is that after POSTing the page, and the resulting validation, finding an input error, and re-displaying the page, each of the $pconfig keys is set, even though set to the empty string "". So the isset() tests are true, and it gets the wrong idea.
We only care about these parameters if they are not "". In this case !empty() gives the correct result, because although a value of 0 will be considered empty, 0 is not allowed by the front-end of the UI anyway (as it happens, these parameters are not allowed to be 0), so we never get that case. And by the way, I generally hate empty() because of having to think of all its quirks.
(cherry picked from commit ebfcfeb59ab4093d6e0d60e95c880d3339e4789d)
|
|
|
|
| |
(cherry picked from commit 2355c154b7598f937ba2121429659f5676ce4d96)
|
|
|
|
|
| |
The front-end validation prevents zero from being entered. "Leave empty" is the way to specify no limit.
(cherry picked from commit b7f2ebb5448f7992cceec899504bdd0a29058fb9)
|
|
|
|
|
|
|
|
|
|
| |
This function used to replace /boot.conf, /boot/loader.conf and
/etc/ttys on every call. Depending of the moment a power failure
happens, any of these files can be blank and it'll break console setup
on next boot.
Usa safe_write_file() to save these 3 files to disk to make sure they
are sync'd
|
| |
|
| |
|
|
|
|
|
|
|
| |
We do not create /etc/ttys from scratch but we change it on every boot.
If original file is corrupted for some reason we can end up with a file
missing essential lines. Added a check to verify if these lines are
missing and add them back in this case
|
|\ |
|
| |
| |
| |
| | |
Commit 6f1410582412fe771f51bd8b67bcbb952da97db6 introduced code relying on this
|
|/
|
|
|
|
|
|
| |
This should eliminate the following errors from the ntpd log file when
using IPv6 or dual-stack networks:
"syntax error, unexpected T_Mask, expecting T_EOC"
(cherry picked from commit daed7646d7e8e5d555676299ce660408b490ef81)
|
|
|
|
| |
(cherry picked from commit 870b9bc11b993ce8122b448083d29a04bcb30151)
|
|
|
|
|
|
| |
8be135cd114fbc9294ec9dafed2125d0e553956c (February, 2013).
(cherry picked from commit 580bef1ee3052437487553fcc5dc8428ca665098)
|
|
|
|
|
|
| |
Fix spelling mistake in "system_gateways.php"
(cherry picked from commit 47180823dc0560801085a227abf512e265363b16)
|