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 Page  12>
Author
Message
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Topic: image url mangling
    Posted: 04 Mar. 2019 at 2:20am
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: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar. 2019 at 2:22am
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: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar. 2019 at 2:27am
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: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar. 2019 at 2:33am
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: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar. 2019 at 2:45am
http instead of https
Back to Top
jeepingben View Drop Down
Member
Member


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



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

Joined: 25 Sep. 2016
Location: CO Springs CO
Status: Offline
Points: 4226
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ol' Unreliable Quote  Post ReplyReply Direct Link To This Post Posted: 05 Mar. 2019 at 3:01am
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: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar. 2019 at 1:25am
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
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:22pm
Still broken?





Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:22pm



\
Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:24pm

Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:25pm
https://jeepingben.net/nextcloud/index.php/s/zceqNEzAZGgbod3/preview

Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:26pm
Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:41pm

[ IMG ] tags broken?
Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:44pm

img tag with filename that ends with jpg (https://www.jeepingben.net/zen/zenphoto/albums/2019/Flatfender%20Jeep%20work/DSCF6150.JPG)

Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 10:45pm

https://jeepingben.net/nextcloud/index.php/s/zceqNEzAZGgbod3/preview (with bogus .jpg added to the end)

Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 11:37pm






Back to Top
jeepingben View Drop Down
Member
Member


Joined: 01 Dec. 2013
Location: Central Maine
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeepingben Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar. 2021 at 11:47pm
Replaced the torn rubber boot on the t-case shifters with one made from leather from last year's deer.





Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.06
Copyright ©2001-2022 Web Wiz Ltd.