Forum Home Forum Home > Suggestions, Comments and Testing > Testing and Support for the forum
  New Posts New Posts RSS Feed - image url mangling
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

image url mangling

 Post Reply Post Reply
Author
Message
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Topic: image url mangling
    Posted: 03 Mar. 2019 at 9:20pm
https://jeepingben.net/nextcloud/s/6JE8dsEMQy8oQDm/preview

now pasting the same link into an image url:


View selection source of the image and it looks correct.

Hitting post.
Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar. 2019 at 9:22pm
right click the image + view image.

URL changed to https://jeepingben/nextcloud/s/6JE8dsEMQy8oQDm/preview

Do any mods know if they are doing custom url sanitation?  I think there is a problem with the regex and it is eating extensions.

for kicks, lets try an image with url https://jeepingben.net.net/nextcloud/s/6JE8dsEMQy8oQDm/preview

Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar. 2019 at 9:27pm
Trying from a different browser


And with a phony extension tacked on the end https://jeepingben.net/nextcloud/s/6JE8dsEMQy8oQDm/preview.ext

Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar. 2019 at 9:33pm
There's the problem. Something is eagerly stripping extensions from image urls.  I'm guessing that post-photobucket most people are uploading photos to the cj2a page instead of linking them?

One more test using img tags instead of the GUI;

phony extension
real url

Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar. 2019 at 9:45pm
http instead of https
Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar. 2019 at 5:24pm



Back to Top
Ol' Unreliable View Drop Down
Member
Member
Avatar

Joined: 25 Sep. 2016
Location: CO Springs CO
Status: Offline
Points: 2812
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ol' Unreliable Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar. 2019 at 10:01pm
Should we be seeing 3 separate pics?  Or are there more? 
There's a reason it's called Ol' Unreliable
Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 05 Mar. 2019 at 8:25pm
The broken images should be displaying. https://jeepingben.net/nextcloud/s/6JE8dsEMQy8oQDm/preview is an image I was testing with.  The forum software is trying to remove an extension (like .jpg) from the url, but since there is none it ends up stripping the .net from jeepingben.net.

If you right click + view image you will see that it has changed from https://jeepingben.net/nextcloud/s/6JE8dsEMQy8oQDm/preview to https://jeepingben/nextcloud/s/6JE8dsEMQy8oQDm/preview

I'm not sure if there is a bug in the forum software or if a custom change for the cj2a page is breaking it.

The images other than the floorboard were experiments with images on other sites. Since they had extensions it didn't break.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.01
Copyright ©2001-2018 Web Wiz Ltd.