View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Dec 19, 2005 3:47 pm 
Offline
Joined: Sun May 08, 2005 2:48 am
Posts: 107
Location: New Zealand
One of the sources for channel icons in New Zealand uses spaces in their file names. This causes mythfilldatabase to go awry.

It looks like mythfilldatabase inserts the icon URL into the database, and then refetches the URL before calling wget to fetch it. I have tried replacing the space with %20, but that is interpreted before placing the value in the database. So wget still gets passed a space.

I tried surrounding the URL with "'url.jpg'" (i.e. two sets of dissimilar quotes. Interestingly you get url.jpg' stored in the db - the outer " and first ' disappears.

I think the proper answer is that when mythfilldatabase calls wget, it should surround the URL in quotes.

Paul

p.s. as I write, one thing that occurs to me is double escaping the %20 - like:
%25%32%30
or escaping the quotes:
%22my url.jpg%22


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu