 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sun Nov 02, 2008 4:57 am
Clickable URLs bug? |
Earlier, I was actually using lua and sending commands via zs.send("string"). Upon one string I sent, it came back not quite what it should have been. At first, I thought it was something in lua that was doing this, however, now I know it's with clickable urls.
1. Make sure clickable urls package is enabled.
2. At command line, type #say http://www.somesite.com/test&test
3. At command line, type #say "http://www.somesite.com/test&test"
Results:
http://www.somesite.com/test
http://www.somesite.com/test&test</A>
The first neglects the & part, the second adds the </A> part... very odd. *shrug* Don't know if there's a fix for it, though.
Charneus |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Nov 03, 2008 6:08 pm |
The & character is used as a special character in CMUD (for database columns), so you need the quotes around the URL normally to prevent that parsing.
However, the additonal /A tag in your second example is definitely a bug and has been added to the bug list. |
|
|
|
 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|