1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00
mpv/common
wm4 6a73fcc9ed common: allow "\/" as escape sequence
mp_parse_escape() is used by the JSON parser in json.c, and JSON allows
escaping "/" (solidus).

Although it makes no sense, apparently Javascript traditionally allowed
that as escape sequence for working around issues with embedding
Javascript in HTML. (Or something like this must have been the history
of this issue.) Since it's valid in Javascript, it had to be valid in
JSON as well, and JSON explicitly specifies it as valid escape.

Fixes #2694.
2016-01-08 09:22:25 +01:00
..
av_common.c video: pass through libavformat has_b_frames field 2015-10-19 15:00:21 +02:00
av_common.h player: print used number of threads in verbose mode 2015-01-05 12:17:55 +01:00
av_log.c av_log: remove dumb shit 2015-07-18 14:21:31 +02:00
av_log.h av_log: mp_msg conversion 2013-12-21 21:43:16 +01:00
codecs.c audio: add --audio-spdif as new method for enabling passthrough 2015-06-05 22:42:59 +02:00
codecs.h audio: add --audio-spdif as new method for enabling passthrough 2015-06-05 22:42:59 +02:00
common.c common: allow "\/" as escape sequence 2016-01-08 09:22:25 +01:00
common.h command: replace ROUND() with lrint() 2015-12-26 18:36:45 +01:00
encode_lavc.c Update license headers 2015-04-13 12:10:01 +02:00
encode_lavc.h Update license headers 2015-04-13 12:10:01 +02:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
global.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
msg_control.h client API: allow using msg-level option for log messages 2015-06-20 21:40:47 +02:00
msg.c msg: remove redundant condition 2015-12-05 23:53:24 +01:00
msg.h Update license headers 2015-04-13 12:10:01 +02:00
playlist.c player: make watch later/resume work when "playing" directories 2016-01-06 22:40:55 +01:00
playlist.h player: make watch later/resume work when "playing" directories 2016-01-06 22:40:55 +01:00
tags.c player: don't set tag strings to NULL 2015-01-12 14:33:56 +01:00
tags.h player: filter tags, add --display-tags option 2014-12-29 22:51:18 +01:00
version.c Update license headers 2015-04-13 12:10:01 +02:00