fix(legacy): update or remove broken links
This commit is contained in:
parent
4bb5f58a7c
commit
6b16df8966
33 changed files with 3210 additions and 3216 deletions
|
@ -29,7 +29,6 @@ class Application_Model_ServiceRegister
|
|||
// Need to convert ipv6 to ipv4 since Monit server does not appear
|
||||
// to allow access via an ipv6 address.
|
||||
// http://[::1]:2812 does not respond.
|
||||
// Bug: https://savannah.nongnu.org/bugs/?27608
|
||||
if ($p_ipAddress == '::1') {
|
||||
$p_ipAddress = '127.0.0.1';
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ class Application_Model_StoredFile
|
|||
* Set multiple metadata values using defined metadata constants.
|
||||
*
|
||||
* @param array $p_md
|
||||
* example: $p_md['MDATA_KEY_URL'] = 'http://www.fake.com'
|
||||
* example: $p_md['MDATA_KEY_URL'] = 'https://example.org'
|
||||
*/
|
||||
public function setMetadata($p_md = null)
|
||||
{
|
||||
|
@ -163,7 +163,7 @@ class Application_Model_StoredFile
|
|||
* Set multiple metadata values using database columns as indexes.
|
||||
*
|
||||
* @param array $p_md
|
||||
* example: $p_md['url'] = 'http://www.fake.com'
|
||||
* example: $p_md['url'] = 'https://www.example.com'
|
||||
*/
|
||||
public function setDbColMetadata($p_md = null)
|
||||
{
|
||||
|
|
|
@ -179,7 +179,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
|
|||
$mediaUrl = null;
|
||||
if ($result == 0) {
|
||||
$valid['url'][0] = false;
|
||||
$valid['url'][1] = _('URL should be of form "http://domain"');
|
||||
$valid['url'][1] = _('URL should be of form "https://example.org"');
|
||||
} elseif (strlen($url) > 512) {
|
||||
$valid['url'][0] = false;
|
||||
$valid['url'][1] = _('URL should be 512 characters or less');
|
||||
|
@ -344,7 +344,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
|
|||
* 0 => "HTTP/1.1 302 Moved Temporarily",
|
||||
* 1 => "X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Sun Microsystems Inc./1.6)",
|
||||
* 2 => "Server: GlassFish Server Open Source Edition 3.1.1",
|
||||
* 3 => "Location: https://3043.live.streamtheworld.com:80/SAM04AAC89_SC",
|
||||
* 3 => "Location: https://example.org/SAM04AAC89_SC",
|
||||
* 4 => "Content-Type: text/html;charset=ISO-8859-1",
|
||||
* 5 => "Content-Language: en-US",
|
||||
* 6 => "Content-Length: 202",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue