1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00: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
av_log.c av_log: remove dumb shit 2015-07-18 14:21:31 +02:00
av_log.h
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
global.h
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
tags.h
version.c Update license headers 2015-04-13 12:10:01 +02:00