aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* uri: really count dots in verify_uri_segment()Max Kellermann2010-06-251-1/+4
| | | | | | This buggy implementation failed to allow "..." sequences, because the dot count was always zero. The usefulness of allowing "..." (or more dots) is debatable, but since it's a valid file name, we allow it.
* uri: allow leading dots, but explicitly exclude "." and ".."Max Kellermann2010-02-271-1/+4
| | | | | Dots at the beginning of an URI segment are ok, as long as the special names "." and ".." are not used.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* uri: added function uri_safe_local()Max Kellermann2009-12-271-0/+30
|
* uri: check presence of slash in suffixMax Kellermann2009-12-261-2/+9
| | | | | If there's a slash in the uri_get_suffix() return value, then it's malformed. Return NULL in this case.
* include config.h in all sourcesMax Kellermann2009-11-121-0/+1
| | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* all: Update copyright header.Avuton Olrich2009-03-131-3/+4
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* song_print: hide HTTP password in playlistMax Kellermann2009-02-271-0/+32
| | | | | | | Added the uri_remove_auth() library function which strips username and password from a HTTP URI, and use it in song_print_url(). This allows you to add HTTP URIs to the playlist including secret username and password, without disclosing it to all MPD clients.
* ls: moved generic URI utilities to uri.cMax Kellermann2009-02-251-0/+37
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.