<div><div dir="auto">Correct. No change will be made on anything other than the most straightforward of redirects. So even <a href="http://example.com">http://example.com</a> -> <a href="https://example.com/home.aspx">https://example.com/home.aspx</a> will be ignored. </div></div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 26, 2019 at 4:23 AM Frederik Ramm <<a href="mailto:frederik@remote.org">frederik@remote.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 26.02.19 12:47, Mateusz Konieczny wrote:<br>
> So when <a href="http://domainname.com" rel="noreferrer" target="_blank">http://domainname.com</a> redirects to<br>
> <a href="https://some-other-domainname.com" rel="noreferrer" target="_blank">https://some-other-domainname.com</a> <<a href="http://domainname.com" rel="noreferrer" target="_blank">http://domainname.com</a>><br>
> no edit will be made, right?<br>
<br>
The logic for this appears to be here<br>
<br>
<a href="https://gitlab.com/b-jazz/https_all_the_things/blob/master/src/httpsosm.py#L132-137" rel="noreferrer" target="_blank">https://gitlab.com/b-jazz/https_all_the_things/blob/master/src/httpsosm.py#L132-137</a><br>
<br>
which reads:<br>
<br>
if any((website.replace('http://', 'https://', 1) == new_location,<br>
website.replace('http://', 'https://', 1) + '/'<br>
== new_location, website.replace('http://',<br>
'<a href="https://www." rel="noreferrer" target="_blank">https://www.</a>', 1) == new_location,<br>
website.replace('http://', '<a href="https://www." rel="noreferrer" target="_blank">https://www.</a>', 1) + '/' == new_location,<br>
website.replace('<a href="http://www." rel="noreferrer" target="_blank">http://www.</a>', 'https://', 1)<br>
== new_location,<br>
website.replace('<a href="http://www." rel="noreferrer" target="_blank">http://www.</a>', 'https://', 1) + '/' == new_location)):<br>
element['tags']['website'] = new_location<br>
<br>
Bye<br>
Frederik<br>
<br>
-- <br>
Frederik Ramm ## eMail <a href="mailto:frederik@remote.org" target="_blank">frederik@remote.org</a> ## N49°00'09" E008°23'33"<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</blockquote></div></div>