martec / Rin-Editor

WYSIWYG Editor for Mybb (Powerd by CKEditor)
14 stars 4 forks source link

Img is broken after editing the post #23

Closed Eldenroot closed 5 years ago

Eldenroot commented 6 years ago

Add an imga into the post via image icon (remote URL). After that go and edit your post and go to the source mode and back... save and check you post. Image is broken; .jpg extension is removed somehow automatically

martec commented 6 years ago

Hi,

sorry but i can't reproduce issue... you can give more detail?

Eldenroot commented 6 years ago

Do you have your test board?

I will try to explain better: 1) Post a new reply with image (remote image added via url - image icon). For example this one: https://www.bgextras.co.uk/itemimages/5500360/Carcassonne-Winter-Edition-Mini-Gingerbread-Man-in-German_T_1_D_12019_I_2302_G_0_V_2.jpg - notice: be in a normal mode "not in source mode". -> image will be displayed correctly

[img]https://www.bgextras.co.uk/itemimages/5500360/Carcassonne-Winter-Edition-Mini-Gingerbread-Man-in-German_T_1_D_12019_I_2302_G_0_V_2.jpg[/img]

2) After that, go and quick edit your post -> switch to the source mode and save the post 3) refresh the page -> image is not displayed, .jpg is removed from the url. The url was changed to this:

https://www.bgextras.co.uk/itemimages/5500360/Carcassonne-Winter-Edition-Mini-Gingerbread-Man-in-German_T_1_D_12019_I_2302_G_0_V_2 - .jpg is missing

martec commented 6 years ago

for now i only can test in production forum (my test forum domain expired), that only accept images from imgur. this issue happen too with imgur domain image?

Eldenroot commented 6 years ago

Nope, imgur works fine

Eldenroot commented 5 years ago

Cannot reproduce again 👍