Internal links starting with http
(not https
) are not replaced while duplicating region contents
#3097
Labels
http
(not https
) are not replaced while duplicating region contents
#3097
Describe the Bug
When you create a new region, you can import contents from an existing region (often from Deutschlandvorlage in the live system). If those contents contain region-internal links, the region slugs in the links will be replaced with that of the region being newly created.
Steps to Reproduce
http
into a content.If
http://integreat.app/region_a/de/page_title/
is used in the step 1,http://integreat.app/new_region/de/page_title/
must appear in the step 4.If
https://integreat.app/region_a/de/page_title/
is used,https://integreat.app/new_region/de/page_title/
appears (success).Expected Behavior
The region slug must be replaced even if URLs are starting with
http
instead ofhttps
Actual Behavior
The region slug is not replaced.
Additional Information
Traceback
The text was updated successfully, but these errors were encountered: