summaryrefslogtreecommitdiffstats
path: root/libmpdemux/url.c
Commit message (Collapse)AuthorAgeFilesLines
* introduce new 'stream' directory for all stream layer related components and ↵ben2006-07-311-373/+0
| | | | | | split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 3reynaldo2006-07-021-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Protect SIZE_MAX usertogni2006-06-091-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18672 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.rtogni2006-06-041-0/+5
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix URL escaping to correctly handle URL containing an ip6 address oralbeu2005-11-261-24/+65
| | | | | | | escaped special chars like & or ; git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17049 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed MSGTR_MPDEMUX_URL_MallocFailed to MSGTR_MemAllocFailed (msg defined ↵ptt2005-11-051-10/+10
| | | | | | two times in help_mp-en.h) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16909 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2reynaldo2005-10-311-11/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16883 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fix, escfilename was not freed for an invalid urlreimar2005-09-061-23/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16422 b3059339-0415-0410-9bf9-f77b7e298cf2
* uber 10l found by Ilia <chest4l at mail.ru>alex2004-06-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12638 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix url escaping and avoid double escapertognimp2004-05-011-25/+71
| | | | | | | Patch by adland, approved by Bertrand Baudet git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12392 b3059339-0415-0410-9bf9-f77b7e298cf2
* '%' is unsafe and need to be escaped.bertrand2004-04-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix long standing bug where last (and sometimes first) char of thealbeu2004-01-101-6/+8
| | | | | | | | hostname got ripped. Also fix url unescaping with hex A ... F git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11772 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warning fixes (approved by A'rpi).rathann2003-11-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added some special-case code for checking for "sip:" URLs (because theyrsf2003-05-031-5/+12
| | | | | | | don't include a "//" like other URLs). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10057 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix incorrect URL encoding.ranma2003-04-181-2/+2
| | | | | | | Ilya Konstantinov <mplayer-dev-eng@future.shiny.co.il> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for IPv6 numeric url like: http://[3ffe:400:100::1]:80/filebertrand2003-03-261-10/+24
| | | | | | | Added const for arguments that shouldn't be changed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9691 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed more potential mem leaks and use the url_free methodbertrand2002-10-191-3/+8
| | | | | | | to free all the member pointers of the url. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7810 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleaksarpi2002-10-161-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Applied patch from Gregory Kovriga <gkovriga@techunix.technion.ac.il>bertrand2002-09-091-0/+5
| | | | | | | - Url was not properly parsed if an @ was in the file path. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7331 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for URLs that contain an username:passwordbertrand2002-06-231-9/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6514 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgalbeu2002-05-021-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed the url_copy function , since it was badly implemented,bertrand2002-02-111-16/+2
| | | | | | | and a url_new can do the job. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added a debug function to print the struct's variables.bertrand2002-01-121-0/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4120 b3059339-0415-0410-9bf9-f77b7e298cf2
* x = malloc(strlen(s) + c) ... strcpy(x, s)pl2001-12-191-4/+2
| | | | | | | | | | | replaced by x = strdup(s) Note: sometimes c was 0 and that was a bug Note2: code still has to be added to check the returned value of these funcs git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added 2 functions to escape/unescape the url as described in the RFC 2396.bertrand2001-12-141-1/+61
| | | | | | | Code borrowed from ASFRecorder. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3497 b3059339-0415-0410-9bf9-f77b7e298cf2
* Applied the patch from Alban Bedel <albeu@free.fr>.bertrand2001-12-141-1/+4
| | | | | | | | He added some errors checking on network code. Added a check on the port number parsing in the url. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added a function to copy URL.bertrand2001-11-201-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3041 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemuxer...arpi2001-10-201-0/+117
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2