Re: URL safe characters?

mrw <mrw.af56cn-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
cpd73 wrote: 
> This seems to imply that LMS accepts commas and exclamation marks -
> whereas Python is percent encoding them. Is there a canonical list of
> "URL safe" characters (i.e. those that do not need to be percent
> encoded) that LMS uses? If so I could update the Python code to match.
> 
> For now, calling
> "Slim::Utils::Misc::fileURLFromPath(Slim::Utils::Misc::pathFromFileURL($path));"
> (so convert Python file:// to plain path, then convert plain path to LMS
> file://) seems to work-around the issue.

‘Slim::Utils::Misc:: fileURLFromPath’ is what does it, so I guess that’s
as canonical as you can get. It appears to use ‘URI::file’ to do the
deed, perhaps you might find the answer in there.


------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=115875

_______________________________________________
developers mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.