Bitcoin Forum
July 05, 2025, 02:39:29 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: The forum didn't detect ")" in URL links.  (Read 136 times)
Despairo (OP)
Hero Member
*****
Offline Offline

Activity: 1428
Merit: 932



View Profile WWW
August 22, 2024, 03:30:10 PM
Merited by vapourminer (5), PowerGlove (2), ABCbits (1)
 #1

I crossed a post that has close parenthesis symbol aka ")" in URL links, specifically it's related to Bisq. I thought the forum ban this link, but after I made some research to find other URL link with close parenthesis symbol, the results is same https://en.wikipedia.org/wiki/Conda_(package_manager)

2. Face to face trade aka direct peer to peer, just like what stated on bisq https://bisq.wiki/Face-to-face_(payment_method)

The forum do detect the URL link if we encode the close parenthesis symbol and it's working fine.

https://bisq.wiki/Face-to-face_(payment_method%29

Is this a bug?

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
Xal0lex
Staff
Legendary
*
Offline Offline

Activity: 2870
Merit: 2786


View Profile WWW
August 22, 2024, 05:49:09 PM
Merited by vapourminer (1)
 #2

It's probably a bug. But you can hide the link and then it works.

Conda_(package_manager)
PX-Z
Legendary
*
Offline Offline

Activity: 1862
Merit: 1202


Wallet transaction notifier @txnNotifierBot


View Profile WWW
August 22, 2024, 07:00:00 PM
 #3

I crossed a post that has close parenthesis symbol aka ")" in URL links, specifically it's related to Bisq. I thought the forum ban this link, but after I made some research to find other URL link with close parenthesis symbol, the results is same...
You mean link with parenthesis are ban here? Or just bisq url?

I don't think its a bug, it depends on the machine software used by the forum if those symbol can be used for URLs or they will be automatically encoded, i experienced this while developing websites.

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
Foxpup
Legendary
*
Online Online

Activity: 4627
Merit: 3618


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
August 22, 2024, 11:37:18 PM
Merited by vapourminer (5), PowerGlove (4), ABCbits (2), DdmrDdmr (1), Despairo (1), BlackBoss_ (1)
 #4

It's just an ambiguity in the algorithm that determines what characters are or are not part of the URL; presumably it was expected that the more likely case would be a URL completely enclosed in parentheses, with the parentheses not being part of the URL itself (such as https://example.com).

You can avoid this by not relying on autodetection of URLs and instead manually using the [url][/url] tags.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
PowerGlove
Hero Member
*****
hacker
Offline Offline

Activity: 653
Merit: 6131



View Profile
August 23, 2024, 12:33:54 AM
Merited by Foxpup (3), ABCbits (2), vapourminer (1), DdmrDdmr (1), Despairo (1), BlackBoss_ (1)
 #5

Foxpup is right. There's a pair of regexes that the auto-linker uses (the below are from 1.1.19):

'~(?<=[\s>\.(;\'"]|^)((?:http|https|ftp|ftps)://[\w\-_%@:|]+(?:\.[\w\-_%]+)*(?::\d+)?(?:/[\w\-_\~%\.@,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])~i'

'~(?<=[\s>(\'<]|^)(www(?:\.[\w\-_]+)+(?::\d+)?(?:/[\w\-_\~%\.@,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])~i'

If a piece near the end of each one were changed from #} to #)} then (I think) it would work in the way OP expected (but then, as Foxpup pointed out, enclosing URLs in parentheses would break).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!