← Back to team overview

mahara-contributors team mailing list archive

[Bug 1992312] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13320
Committed: https://git.mahara.org/mahara/mahara/commit/56b556990859ca4008e5210eb673858648603a52
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    22.04_DEV

commit 56b556990859ca4008e5210eb673858648603a52
Author: Gold <gold@xxxxxxxxxxxxxxx>
Date:   Mon Oct 10 13:46:30 2022 +1300

Bug 1992312: Flexible URL replacements

This should now handle http://example.com, https://example.com, and
protocolless //example.com.

We also now process static_page (site_content) and Wall Posts.

Signed-off-by: Gold <gold@xxxxxxxxxxxxxxx>
Change-Id: Ic35b0ab6ee7bd90223666f48597af269f6ecbacf
(cherry picked from commit e59c3e437c0898f47a89bdc3ffef91d107d6ceaa)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1992312

Title:
  embededurls.php doesn't handle protocolless URLs

Status in Mahara:
  Fix Committed
Status in Mahara 21.04 series:
  New
Status in Mahara 21.10 series:
  New
Status in Mahara 22.04 series:
  New
Status in Mahara 22.10 series:
  Fix Committed

Bug description:
  I have a db snapshot that has a mix of domains like //example.com and
  http://example.com.

  I was able to replace the http://example.com type URLs but it now
  reports that there are no more to replace and it doesn't present the
  form any more.

  I still have //example.com URLs as well serving broken images.

  We need to be able to present the form in a much more flexible manner.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1992312/+subscriptions



References