Advertisement:

Author Topic: Could you please get me this as a URL, or atleast dont convert to a url?  (Read 555 times)

Offline hitsme

  • Semi-Newbie
  • *
  • Posts: 68
https://archive.org/details/software?and[]=creator%3A%22microsoft%22

it breaks on the "="

Offline hitsme

  • Semi-Newbie
  • *
  • Posts: 68
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #1 on: January 13, 2019, 11:35:42 PM »
https://archive.org/details/software?and[]=creator%3A%22microsoft%22

it breaks on the "="
I found a way around it by removing https://
archive.org/details/software?and[]=creator%3A%22microsoft%22

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,147
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #2 on: January 13, 2019, 11:44:42 PM »
That's interesting. The http/https part shouldn't really make a difference.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,786
    • StoryBB/StoryBB on GitHub
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #3 on: January 14, 2019, 02:03:16 AM »
It does, though, by not auto converting it to a link.

The issue is that the link contains [ and ] which is also part of bbcode and SMF has never properly supported this.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,147
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #4 on: January 14, 2019, 02:10:08 AM »
Oh, right - yeah, I was thinking of the linking. http or https should make no difference there, but leaving it as text of course is another thing.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,977
  • Gender: Male
    • Kindred-999 on GitHub
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #5 on: January 14, 2019, 08:08:04 AM »
Well, the [ and ] should not be used in URLs anyways...


although
https://tools.ietf.org/html/rfc3986#section-2
does technically allow them, they are a part of the list of unsafe characters which should be encoded if required in the URL

Unsafe characters   Includes the blank/empty space and " < > # % { } | \ ^ ~ [ ] `



Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,870
  • Gender: Male
    • Macedonian electronics forum
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #6 on: January 14, 2019, 06:40:19 PM »
Yep, just tried, the URL tag also breaks the link :-\.

Just use the code tag, that's what I would do ;). Or use the nobbc tag either one of those should do the trick ;).

Hmmm... a question just popped up. Why would the BBC parser search for any BBC inside the [url=http://somesite.tld/] part of the tag? Does the URL tag allow other BBCs to be present in that part of the tag?
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,786
    • StoryBB/StoryBB on GitHub
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #7 on: January 15, 2019, 02:22:22 AM »
It isn’t. The ] in the link is treated naively as the end of the opening tag.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline hitsme

  • Semi-Newbie
  • *
  • Posts: 68
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #8 on: January 16, 2019, 04:28:12 PM »
It isn’t. The ] in the link is treated naively as the end of the opening tag.
https://archive.org/details/software?and[%5D=creator%3A%22microsoft%22

If thats the case Replacing ] With %5D Does the trick

But I dont expect SMF to do it

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,977
  • Gender: Male
    • Kindred-999 on GitHub
Re: Could you please get me this as a URL, or atleast dont convert to a url?
« Reply #9 on: January 16, 2019, 04:55:44 PM »
yes... that would do the trick...   and that is how URLs SHOULD be listed, even from the site itself...   those characters are unsafe to use in URLS, and, if used, should be changed to the encoded version.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.