mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
275480a0de
Existing language strings for the host component suggest that the host can be provided in the format hostname:port, but we previously did not support this. This patch explodes the string based on the colon character and assumes that if there are two parts, that they are in the format hostname:port. Note: This does not attempt to deal with full host specifications (e.g. protocol://hostname:port), as this is beyond the scope of this change.