1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
bertrand
e818336e6c '%' is unsafe and need to be escaped.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12154 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-07 20:35:41 +00:00
albeu
a546b9abc0 Fix long standing bug where last (and sometimes first) char of the
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
2004-01-10 14:38:07 +00:00
rathann
e1dc488097 Warning fixes (approved by A'rpi).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 00:26:51 +00:00
rsf
59e227a866 Added some special-case code for checking for "sip:" URLs (because they
don't include a "//" like other URLs).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10057 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-03 06:16:07 +00:00
ranma
cb961f6600 Fix incorrect URL encoding.
Ilya Konstantinov <mplayer-dev-eng@future.shiny.co.il>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9925 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 12:16:35 +00:00
bertrand
dc49bda4bb Added support for IPv6 numeric url like: http://[3ffe:400:100::1]:80/file
Added const for arguments that shouldn't be changed


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9691 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-26 11:27:48 +00:00
bertrand
b6d2718ec5 Fixed more potential mem leaks and use the url_free method
to free all the member pointers of the url.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7810 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 23:28:51 +00:00
arpi
ef0fc1c09f memleaks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7762 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 20:25:23 +00:00
bertrand
75ed70c865 Applied patch from Gregory Kovriga <gkovriga@techunix.technion.ac.il>
- 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
2002-09-09 04:16:16 +00:00
bertrand
d5ae673150 Added support for URLs that contain an username:password
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6514 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 06:27:19 +00:00
albeu
4189e06396 printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5934 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 10:40:35 +00:00
bertrand
848c35b252 Removed the url_copy function , since it was badly implemented,
and a url_new can do the job.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4654 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-11 05:19:11 +00:00
bertrand
052eec728b Added a debug function to print the struct's variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4120 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-12 21:02:00 +00:00
pl
e0c43586ae x = malloc(strlen(s) + c) ... strcpy(x, s)
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
2001-12-19 13:03:22 +00:00
bertrand
24c6f11c8b Added 2 functions to escape/unescape the url as described in the RFC 2396.
Code borrowed from ASFRecorder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3497 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 23:48:47 +00:00
bertrand
3ea29912ef Applied the patch from Alban Bedel <albeu@free.fr>.
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
2001-12-14 20:45:30 +00:00
bertrand
04178fa6f9 Added a function to copy URL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3041 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 22:15:32 +00:00
arpi
881e5d0783 libdemuxer...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 18:49:08 +00:00