mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
mediawiki: Fix URL diagnostics with redirects involved
Upon access of MediaWiki URL, it redirects to the main page with the URL configured. This new URL could only be accessed on IPv4 or IPv6 only. When curl is invoked with the IP address version of a different kind, this fails. Tell the diagnostics methods not the restrict to a particular address type. Tests: - All MediaWiki diagnostic tests pass. URL tests show that they haven't been performed on particular address type but rather generically. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
436060fecb
commit
48457dd0d0
@ -80,7 +80,8 @@ class MediaWikiApp(app_module.App):
|
||||
self.add(firewall)
|
||||
|
||||
webserver = Webserver('webserver-mediawiki', 'mediawiki',
|
||||
urls=['https://{host}/mediawiki'])
|
||||
urls=['https://{host}/mediawiki/'],
|
||||
expect_redirects=True)
|
||||
self.add(webserver)
|
||||
|
||||
webserver = Webserver('webserver-mediawiki-freedombox',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user