Author Topic: Forum software messing up URLs?  (Read 403 times)

0 Members and 1 Guest are viewing this topic.

Offline tooki

  • Super Contributor
  • ***
  • Posts: 4131
  • Country: ch
Forum software messing up URLs?
« on: October 13, 2019, 11:20:49 am »
In two recent posts already I’ve had the forum software totally mess up URL tags. It’s erroneously inserting another set of url tags around the URL that’s already properly wrapped inside the opening URL tag. I think it could have to do with the URLs using https. So here’s some tests with a URL that will redirect to https if http is used.

1. Naked http URL (inserted without tags): http://www.ezv.admin.ch/ezv/de/home/themen/alcohol/spirituosen_werbung/werbeleitfaden.html

2. Naked https URL: https://www.ezv.admin.ch/ezv/de/home/themen/alcohol/spirituosen_werbung/werbeleitfaden.html

3. http URL used in url tag: http://www.ezv.admin.ch/ezv/de/home/themen/alcohol/spirituosen_werbung/werbeleitfaden.html]here’s the link[/url]

4. https URL used in url tag: https://www.ezv.admin.ch/ezv/de/home/themen/alcohol/spirituosen_werbung/werbeleitfaden.html]here’s the link[/url]
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 4131
  • Country: ch
Re: Forum software messing up URLs?
« Reply #1 on: October 13, 2019, 11:27:14 am »
OK, so https has nothing to do with it. But it illustrates the problem perfectly.
This is the syntax entered in 4:
Code: [Select]
[url=https://www.ezv.admin.ch/ezv/de/home/themen/alcohol/spirituosen_werbung/werbeleitfaden.html]here’s the link[/url]
One more test: does a spurious space in the url tag matter:
5. No space in the tag

6. https://www.ezv.admin.ch/ezv/de/home/themen/alcohol/spirituosen_werbung/werbeleitfaden.html]Space in the tag after the equal sign[/url]

In the preview, both produce the correct output, let’s see what happens when it posts.
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 4131
  • Country: ch
Re: Forum software messing up URLs?
« Reply #2 on: October 13, 2019, 11:30:03 am »
OK, that seems to be it. It looks like iOS 13 changed the cut-and-paste algorithm slightly and now inserts a space automatically before a pasted URL in a body text box. (I’ll have to check the settings to see if it can be disabled.) But it’s crazy that the preview handles it correctly, but it gets borked when actually posted. (To me it’s bonkers that the forum software renders fundamentally differently in the preview than in the actual post. Why wouldn’t it use the same code path?!?)
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 10087
  • Country: gb
    • Having fun doing more, with less
Re: Forum software messing up URLs?
« Reply #3 on: October 13, 2019, 11:42:36 am »
One more test: does a spurious space in the url tag matter:

Code: [Select]
[img width=100]http://...[/img] works

Code: [Select]
[img  width=100]http://...[/img] fails
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: tooki

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 8651
  • Country: gb
Re: Forum software messing up URLs?
« Reply #4 on: October 13, 2019, 11:45:20 am »
Tooki,

Thank you for this post. I thought it was “just me”  :-+

I have been having problems including URL)s in posts for some time. I am using an iPad running iOS 13 and I am finding that when I post a URL, only part of it is ‘captured’ as a URL by the forum (blue text) and the rest of it is ignored and shown as plain black text. Clicking that link then produces a 404 error. Most annoying. I have resorted to using my Windows 7 laptop for posting URL’s now.

Fraser
 
The following users thanked this post: tooki

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 8651
  • Country: gb
Re: Forum software messing up URLs?
« Reply #5 on: October 13, 2019, 11:52:44 am »
An example of the issue I was having with URL’s is shown in reply 2 in this thread. The end of the URL is ignored  :(

https://www.eevblog.com/forum/thermal-imaging/where-to-buy-old-flir-cores/

I have cut and pasted the example post here......

—————————————

I am feeling helpful.....

https://www.eevblog.com/forum/thermal-imaging/flir-micron-a10-160-x-120-hiding-in-disguise-bought-for-$100-)/


Edit... Darn it my cut'n'paste URL is not working in this post. you will have to copy it manually into your browser.


Fraser

——————————


Note that the “$100-)/“ is ignored

Fraser
« Last Edit: October 13, 2019, 11:57:06 am by Fraser »
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: 00
Re: Forum software messing up URLs?
« Reply #6 on: October 13, 2019, 11:56:22 am »
An example of the issue I was having with URL’s is shown in reply 2 in this thread. The end of the URL is ignored  :(

https://www.eevblog.com/forum/thermal-imaging/where-to-buy-old-flir-cores/

Fraser

Try -> HERE jump to 2nd post


Code: [Select]
[url=https://www.eevblog.com/forum/thermal-imaging/where-to-buy-old-flir-cores/msg2658639/#msg2658639]HERE jump to 2nd post[/url]
 
The following users thanked this post: Fraser

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 6010
  • Country: gb
Re: Forum software messing up URLs?
« Reply #7 on: October 13, 2019, 11:58:00 am »
An example of the issue I was having with URL’s is shown in reply 2 in this thread. The end of the URL is ignored  :(

https://www.eevblog.com/forum/thermal-imaging/where-to-buy-old-flir-cores/

I have cut and pasted the example post here......

—————————————

I am feeling helpful.....

https://www.eevblog.com/forum/thermal-imaging/flir-micron-a10-160-x-120-hiding-in-disguise-bought-for-$100-)/


Edit... Darn it my cut'n'paste URL is not working in this post. you will have to copy it manually into your browser.


Fraser

——————————


Note that the “$100-)” is ignored

Fraser

https://www.eevblog.com/forum/thermal-imaging/flir-micron-a10-160-x-120-hiding-in-disguise-bought-for-$100-)/

With certain characters you need to use tags or the parser breaks a little.
 
The following users thanked this post: oPossum, Fraser

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 8651
  • Country: gb
Re: Forum software messing up URLs?
« Reply #8 on: October 13, 2019, 11:58:11 am »
Thanks BravoV  :-+

I am demonstrating how inept I am at posting anything but simple stuff on forums  :palm:

Fraser
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 8651
  • Country: gb
Re: Forum software messing up URLs?
« Reply #9 on: October 13, 2019, 11:58:57 am »
Thanks Monkeh  :-+

Fraser
« Last Edit: October 13, 2019, 12:00:44 pm by Fraser »
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: 00
Re: Forum software messing up URLs?
« Reply #10 on: October 13, 2019, 11:59:56 am »
I am feeling helpful.....

https://www.eevblog.com/forum/thermal-imaging/flir-micron-a10-160-x-120-hiding-in-disguise-bought-for-$100-)/


Edit... Darn it my cut'n'paste URL is not working in this post. you will have to copy it manually into your browser.


Fraser

——————————


Note that the “$100-)/“ is ignored

Fraser

FLIR Micron A10 160 x 120 hiding in ‘disguise’ bought for $100  :)

Code: [Select]
[url=https://www.eevblog.com/forum/thermal-imaging/flir-micron-a10-160-x-120-hiding-in-disguise-bought-for-$100-)/]FLIR Micron A10 160 x 120 hiding in ‘disguise’ bought for $100  :)[/url]
 
The following users thanked this post: Fraser

Offline wilfred

  • Frequent Contributor
  • **
  • Posts: 806
  • Country: au
Re: Forum software messing up URLs?
« Reply #11 on: October 14, 2019, 12:32:36 am »
Tooki,

Thank you for this post. I thought it was “just me”  :-+

I have been having problems including URL)s in posts for some time. I am using an iPad running iOS 13 and I am finding that when I post a URL, only part of it is ‘captured’ as a URL by the forum (blue text) and the rest of it is ignored and shown as plain black text. Clicking that link then produces a 404 error. Most annoying. I have resorted to using my Windows 7 laptop for posting URL’s now.

Fraser

This problem is probably as old as the forum itself. And it definitely isn't just you @Fraser.
 
The following users thanked this post: tooki

Online IanB

  • Super Contributor
  • ***
  • Posts: 9590
  • Country: us
Re: Forum software messing up URLs?
« Reply #12 on: October 14, 2019, 12:47:44 am »
I am using an iPad running iOS 13...

That sounds very painful. I explored using an iPad for posting on forums for a while but I gave up on it. It is just too inconvenient and frustrating compared to the control you have using a PC screen with keyboard and mouse. A Bluetooth keyboard on the iPad only helped a little.

IMHO iPads are good for reading and browsing, but are not good for content creation.
I'm not an EE--what am I doing here?
 
The following users thanked this post: Fraser

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 10087
  • Country: gb
    • Having fun doing more, with less
Re: Forum software messing up URLs?
« Reply #13 on: October 14, 2019, 07:22:41 am »
I am using an iPad running iOS 13...

That sounds very painful. I explored using an iPad for posting on forums for a while but I gave up on it. It is just too inconvenient and frustrating compared to the control you have using a PC screen with keyboard and mouse. A Bluetooth keyboard on the iPad only helped a little.

IMHO iPads are good for reading and browsing, but are not good for content creation.

Exactly.

That can be extended to Android tablets as well.

I have never considered using an external keyboard with a tablet; it would be like putting lipstick on a pig.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 4131
  • Country: ch
Re: Forum software messing up URLs?
« Reply #14 on: October 14, 2019, 11:20:05 am »
I have never considered using an external keyboard with a tablet; it would be like putting lipstick on a pig.
I actually use a bluetooth mechanical keyboard with my iPad frequently. Thanks to a nerve problem and RSI, my hands don't tolerate most keyboards (never mind onscreen typing), but the iPad is often the best tool for many tasks, like messaging. (Facebook messenger on iOS is far superior to using the FB website on a computer.)

I totally agree that an iPad is not an ideal content creation device (though iOS 13 improves this), but in some situations it's quite good. I suspect its content creation strong suit is illustration (where the Apple Pencil manages to far exceed the venerable Wacom tablets in responsiveness). It's certainly not long-form text...

I often end up with my computer, iPad, and iPhone around me when working, as I use each to compliment the others. I like to let each tool do its specialty best.
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 8651
  • Country: gb
Re: Forum software messing up URLs?
« Reply #15 on: October 14, 2019, 11:35:41 am »
Totally agree with the challenges of content creation on an iPad. I get very annoyed with mine auto correcting technical words etc to other words and have to keep checking that it is not changing words in my posts (I can turn auto correct off though) The on-screen keyboard is only good for short posts like this really. As for ‘cutting and pasting’ plus image handling, the iPad sucks in my experience. I far prefer to manipulate images, resize them etc on my laptop.

I consider my iPad a window on the internet and a brilliant search tool for finding information. Content creation does not appear to be its forte.

Fraser
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 10087
  • Country: gb
    • Having fun doing more, with less
Re: Forum software messing up URLs?
« Reply #16 on: October 14, 2019, 01:36:37 pm »
I have never considered using an external keyboard with a tablet; it would be like putting lipstick on a pig.
I actually use a bluetooth mechanical keyboard with my iPad frequently. Thanks to a nerve problem and RSI, my hands don't tolerate most keyboards (never mind onscreen typing), but the iPad is often the best tool for many tasks, like messaging. (Facebook messenger on iOS is far superior to using the FB website on a computer.)
...
I like to let each tool do its specialty best.

Very sane, and that's a great example of why personal characteristics are important. I always make that point w.r.t. magnification for PCB operations.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: tooki

Offline tooki

  • Super Contributor
  • ***
  • Posts: 4131
  • Country: ch
Re: Forum software messing up URLs?
« Reply #17 on: October 14, 2019, 05:15:52 pm »
Totally agree with the challenges of content creation on an iPad. I get very annoyed with mine auto correcting technical words etc to other words and have to keep checking that it is not changing words in my posts (I can turn auto correct off though) The on-screen keyboard is only good for short posts like this really. As for ‘cutting and pasting’ plus image handling, the iPad sucks in my experience. I far prefer to manipulate images, resize them etc on my laptop.
FYI, in iOS 13, one can finally shrink them on upload in Safari: https://www.macrumors.com/how-to/choose-image-size-when-uploading-photo-safari-ios/

At least for adding quick snapshots to forum posts, this is a great feature. I haven't tried it yet, but presumably will at some point. (The forum admins did finally add attachment support for the .jpeg file extension, allowing direct upload from iOS.)

I consider my iPad a window on the internet and a brilliant search tool for finding information. Content creation does not appear to be its forte.
I think that's the wide consensus, with the possible aforementioned exception of illustrations with the stylus.
 
The following users thanked this post: Fraser


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf