Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: 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
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net