Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast 2.3.2 space bug in status.xsl

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
liteFun



Joined: 13 Jan 2006
Posts: 79

PostPosted: Fri Oct 03, 2008 1:49 pm    Post subject: Icecast 2.3.2 space bug in status.xsl Reply with quote

I have original status.xsl, and problem with web page source:
<td>Stream URL:</td>
<td class="streamdata"><a target="_blank" href="http://turha.sivusto.fi/%20">http://turha.sivusto.fi/ </a></td>

Where comes that space (%20), it's not in source client, and status.xsl is not modified?
<tr><td>Stream URL:</td><td class="streamdata"><a target="_blank" href="{server_url}"><xsl:value-of select="server_url" /></a></td></tr>
Except for one space before <a target removed. Result is still same with stock status.xsl.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 03, 2008 4:41 pm    Post subject: Reply with quote

the url is provided by the source client or icecast xml, are you sure the source client is not adding the extra space at the end of the url?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
liteFun



Joined: 13 Jan 2006
Posts: 79

PostPosted: Fri Oct 03, 2008 5:02 pm    Post subject: Reply with quote

How could I check that? Sniffing packets source client is sending to Icecast?
I noticed this problem now, previously I had used website with Apache, now using thttpd that shows errorpage (%20 not found), I checked status.xsl first but saw nothing wrong there..

edit: configured debug level for logs, now error.log shows following:
[2008-10-03 17:06:29] DBUG stats/process_source_event new node server_url (http://turha.sivusto.fi/ )

So I guess source client (Orban Opticodec-PC) is adding that mysterious space somehow.

another edit: tried with edcast3, and result:
[2008-10-03 17:18:27] DBUG stats/process_source_event new node server_url (http://turha.sivusto.fi/)

No space in url, so it is Orban Opticodec-PC that it makes. Problem solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Bug Reports 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


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber