K9 removes // (double slash) when url's protocol not completly written

Pierre-Luc Simard asked on June 27, 2017 14:18

Guys,

Since we are on K9, we got a problem. URL written with starting // omitting the protocol got rewrite with only one /.

For exemple <p><img src="//foo.bar.com/funny404.png" /></p> is rewritten <p><img src="/foo.bar.com/funny404.png" /></p>

It looks like a regression since it was working in Kentico 7.

Thanks,
PL

Correct Answer

Zoltán Jalsovszky answered on June 28, 2017 15:08

We actually fixed this bug in Kentico 10.0.15.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on June 27, 2017 15:16

Where are you writing this? In a WYSIWYG editor? If so, it's not a Kentico thing, it's an issue with the CKEditor. I believe you can update the configuration to skip this sequence although I'm not 100% sure what the actual fix is.

1 votesVote for this answer Mark as a Correct answer

Pierre-Luc Simard answered on June 28, 2017 05:03

You're right. It's in the WYSIWYG editor. I'll check that out and I'll keep you posted.

Thanks Brenden!

0 votesVote for this answer Mark as a Correct answer

Pierre-Luc Simard answered on June 29, 2017 18:53

Thank you Zoltán, we will stick with our workaround then.

As our websites are now completly in HTTPS, we suggest our webmasters to prefix all their url with "https:".

Thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.