-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.3, 2.8.1, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-48779-29 -
1. Set sitename to something longer then 64 byte, using 2-byte unicode symbols. You can copy/pasetr sitename "ЫЫЫЫЫЫЫ ыыыыыыыыыыыы ыыыыыыыы ыыыыыыыыыыыы ыыыы" for example.
2. Regenerate key on page moodle/admin/mnet/index.php. You'l get error.
The problem is in moodle/mnet/lib.php line 397 (in 2.8.1)
$dn[$key] = substr($dn[$key], 0, $length);
should be
$dn[$key] = core_text::substr($dn[$key], 0, $length);
using non-multibyte substr in some cases breaks line inslide multibyte character, and this breaks certificate creation procedure.
- has a non-specific relationship to
-
MDL-30443 Alternative to commonName field certificate in mnet services.
-
- Closed
-