Problem posting links

Whenever I post links there seem to be problems, so here goes to see if somebody can get to the bottom of this.
The browser I am using is Firefox Quantum 57.0.4 (32-bit).

The url I want to enter is;

I press the link button delete the http://that is already in the url field and paste the test I just pasted above.
This is the link I get
https://www.youtube.com/watch?v=mT3vfSQePcs&app=desktop

I then press the show source button and I see;

This is the link I get
[iurl="https://www.youtube.com/watch?v=mT3vfSQePcs&app=desktop"]https://www.youtube.com/watch?v=mT3vfSQePcs&app=desktop[/iurl]

So the to me the source looks okay.
Now I am going to make the post then try to use the link.

Okay I tried to use the link and it failed so I copied the link and am modifying my original post.
The link I copied is;
http://"Amazing Bike Riding Robot! Can Cycle, Balance, Steer, and Correct Itself. #DigInfo - YouTube"

Look at that an "http://" has appeared at the start.
How did it get there?

I've seen this from time to time on the forum and I know there are some threads about it but I can't remember if there was a conclusion as to the cause. I never have had a problem that I've noticed:

I have my Forum settings permanently set so so that I use the View source version of the editor for posting replies. There is no problem adding links with it.

You can switch to the source mode using the right-most icon labeled View source

...R

Robin2:
I have my Forum settings permanently set so so that I use the View source version of the editor for posting replies. There is no problem adding links with it.

You can switch to the source mode using the right-most icon labeled View source

...R

That is the point I looked at the source and it appeared fine, I showed what I could see in the code section of the original post.
I don't think it happens all the time, maybe it is because the link uses https ?

Okay, I am going to try a url that uses http not https the url is;

Here is it is using the link tags;

The source looks like this;

Here is it is using the link tags;
[iurl=http://edition.cnn.com/2017/05/31/us/nasa-sun-mission/index.html]http://edition.cnn.com/2017/05/31/us/nasa-sun-mission/index.html[/iurl]

It worked, but note when I posted your https YouTube link it worked fine.

Bingo - that last link worked fine.

It seems to be the forum webpage is being too smart. It seems as if when you post a link it parses the text looking for an 'http://' prefix. If that prefix is not there it inserts, even if the url already contains 'http**s**://'

Can anybody confirm that and if it is correct how does it get fixed?
If I look at the source I don;t see the offending extra http:// so I cannot remove it myself.

ardly:
This is the link I get

[iurl=http://"http://\"https://www.youtube.com/watch?v=mT3vfSQePcs&app=desktop""]https://www.youtube.com/watch?v=mT3vfSQePcs&app=desktop[/iurl]

pert:
I never have had a problem that I've noticed:

[url=https://www.youtube.com/watch?v=mT3vfSQePcs&app=desktop]https://www.youtube.com/watch?v=mT3vfSQePcs&app=desktop[/url]

I wonder why when you post the tag is iurl and when I post the tag is url? I just use the chain links icon on the toolbar. I'm also using Firefox 57.0.4.