slight bug fix for making sure url's obey the RFC's
git-svn-id: https://svn.musicpd.org/mpd/trunk@1470 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
4c60a22f2a
commit
600091c3e0
2
src/ls.c
2
src/ls.c
@ -68,7 +68,7 @@ int isValidRemoteUtf8Url(char * utf8url) {
|
|||||||
temp = utf8url;
|
temp = utf8url;
|
||||||
while(*temp) {
|
while(*temp) {
|
||||||
if((*temp >= 'a' && *temp <= 'z') ||
|
if((*temp >= 'a' && *temp <= 'z') ||
|
||||||
(*temp >= 'A' && *temp <= 'z') ||
|
(*temp >= 'A' && *temp <= 'Z') ||
|
||||||
(*temp >= '0' && *temp <= '9') ||
|
(*temp >= '0' && *temp <= '9') ||
|
||||||
*temp == '$' ||
|
*temp == '$' ||
|
||||||
*temp == '-' ||
|
*temp == '-' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user