aboutsummaryrefslogtreecommitdiff
path: root/src/uri.c
Commit message (Collapse)AuthorAge
* Merge branch 'v0.16.x'Max Kellermann2012-04-05
|\ | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c
| * uri: remove g_basename() call from uri_get_suffix()Max Kellermann2012-04-04
| | | | | | | | | | g_basename() is deprecated in GLib 2.32. Instead, verify that the suffix does not have a backslash, to catch Windows path names.
* | copyright year 2011Max Kellermann2011-01-29
|/
* uri: really count dots in verify_uri_segment()Max Kellermann2010-06-25
| | | | | | 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-27
| | | | | 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-31
|
* uri: added function uri_safe_local()Max Kellermann2009-12-27
|
* uri: check presence of slash in suffixMax Kellermann2009-12-26
| | | | | 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-12
| | | | | | 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-13
| | | | | | | | 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-27
| | | | | | | 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-25
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.