1*6777b538SAndroid Build Coastguard Worker# Copyright 2016 The Chromium Authors 2*6777b538SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 3*6777b538SAndroid Build Coastguard Worker# found in the LICENSE file. 4*6777b538SAndroid Build Coastguard Worker 5*6777b538SAndroid Build Coastguard Worker# This file contains several basic MHTML syntax elements based on 6*6777b538SAndroid Build Coastguard Worker# 1) rfc2557 7*6777b538SAndroid Build Coastguard Worker# 2) test files from chromium/third_party/WebKit/LayoutTests/mhtml 8*6777b538SAndroid Build Coastguard Worker# 3) suggestions from manual runs of libFuzzer 9*6777b538SAndroid Build Coastguard Worker 10*6777b538SAndroid Build Coastguard Workerline_ending_1="\x0D\x0A" 11*6777b538SAndroid Build Coastguard Workerline_ending_2="\x0D" 12*6777b538SAndroid Build Coastguard Workerline_ending_3="\x0A" 13*6777b538SAndroid Build Coastguard Workerbackslash="\\" 14*6777b538SAndroid Build Coastguard Workerspace=" " 15*6777b538SAndroid Build Coastguard Workertab="\x08" 16*6777b538SAndroid Build Coastguard Workeropen_paren="(" 17*6777b538SAndroid Build Coastguard Workerclose_paren=")" 18*6777b538SAndroid Build Coastguard Worker 19*6777b538SAndroid Build Coastguard Workercontent_location1="Content-Location: CID: [email protected]" 20*6777b538SAndroid Build Coastguard Workercontent_location2="Content-Location: http://www.ietf.cnri.reston.va.us/images/ietflogo.gif" 21*6777b538SAndroid Build Coastguard Workercontent_location3="Content-Location: CID:[email protected] ; this header is disregarded" 22*6777b538SAndroid Build Coastguard Workercontent_location4="Content-Location: CID:[email protected]" 23*6777b538SAndroid Build Coastguard Workercontent_location5="Content-Location: CID:foo3@[email protected]" 24*6777b538SAndroid Build Coastguard Worker 25*6777b538SAndroid Build Coastguard Workercontent_type1_line1="Content-Type: multipart/related; boundary=\"boundary-example\";" 26*6777b538SAndroid Build Coastguard Workercontent_type1_line2a="\x08type\"text/html\"" 27*6777b538SAndroid Build Coastguard Workercontent_type1_line2b="\x08type="text/html" 28*6777b538SAndroid Build Coastguard Workercontent_type1_line2c="\x08type=\"text/html\"; start=\"<foo3@[email protected]>\"" 29*6777b538SAndroid Build Coastguard Workercontent_type1_line2d="\x08type=\"text/html\"; start=\"<[email protected]>\"" 30*6777b538SAndroid Build Coastguard Workercontent_type2="Content-Type: text/html;charset=\"US-ASCII\"" 31*6777b538SAndroid Build Coastguard Workercontent_type3="Content-Type: text/html; charset=\"iso-8859-1\"" 32*6777b538SAndroid Build Coastguard Workercontent_type4="Content-Type: multipart/related;" 33*6777b538SAndroid Build Coastguard Workercontent_type5="Content-Type: IMAGE/GIF" 34*6777b538SAndroid Build Coastguard Worker 35*6777b538SAndroid Build Coastguard Workercontent_id1="Content-ID: <[email protected]>" 36*6777b538SAndroid Build Coastguard Workercontent_id2="Content-ID: <[email protected]>" 37*6777b538SAndroid Build Coastguard Workercontent_id3="Content-ID: <foo4@[email protected]>" 38*6777b538SAndroid Build Coastguard Worker 39*6777b538SAndroid Build Coastguard Workercid_uri_usage_1="<IMG SRC=\"cid:foo4@[email protected]\">" 40*6777b538SAndroid Build Coastguard Workercid_uri_usage_2="<IMG SRC=\"cid:[email protected]\">" 41*6777b538SAndroid Build Coastguard Worker 42*6777b538SAndroid Build Coastguard Workerboundary_prefix="--" 43*6777b538SAndroid Build Coastguard Workerboundary_1="--boundary-example" 44*6777b538SAndroid Build Coastguard Workerboundary_final1="--boundary-example--" 45*6777b538SAndroid Build Coastguard Workerboundary_3="\x08boundary=\"----=_NextPart_000_0000_87206557.D2C008B0\";" 46*6777b538SAndroid Build Coastguard Worker 47*6777b538SAndroid Build Coastguard Workerfrom="From: [email protected]" 48*6777b538SAndroid Build Coastguard Workerto="To: [email protected]" 49*6777b538SAndroid Build Coastguard Worker 50*6777b538SAndroid Build Coastguard Workersubject_1="Subject: A simple example" 51*6777b538SAndroid Build Coastguard Workersubject_2="Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?=" 52*6777b538SAndroid Build Coastguard Worker 53*6777b538SAndroid Build Coastguard Workerdate_1="Date: Wed, May 11 2011 15:36:36 GMT-0700" 54*6777b538SAndroid Build Coastguard Worker 55*6777b538SAndroid Build Coastguard Workermime_version="Mime-Version: 1.0" 56*6777b538SAndroid Build Coastguard Worker 57*6777b538SAndroid Build Coastguard Workercontent_transfer_encoding1="Content-Transfer-Encoding: base64" 58*6777b538SAndroid Build Coastguard Workercontent_transfer_encoding2="Content-Transfer-Encoding: quoted-printable" 59*6777b538SAndroid Build Coastguard Workercontent_transfer_encoding3="Content-Transfer-Encoding: binary" 60*6777b538SAndroid Build Coastguard Workercontent_transfer_encoding4="Content-Transfer-Encoding: 7bit" 61*6777b538SAndroid Build Coastguard Workercontent_transfer_encoding5="Content-Transfer-Encoding: 8bit" 62*6777b538SAndroid Build Coastguard Worker 63*6777b538SAndroid Build Coastguard WorkerlibFuzzer_suggestion1="date" 64*6777b538SAndroid Build Coastguard WorkerlibFuzzer_suggestion2="Access-Control-Allow-Extern" 65*6777b538SAndroid Build Coastguard WorkerlibFuzzer_suggestion3="Link" 66*6777b538SAndroid Build Coastguard WorkerlibFuzzer_suggestion4="from" 67*6777b538SAndroid Build Coastguard WorkerlibFuzzer_suggestion5="boundary" 68*6777b538SAndroid Build Coastguard WorkerlibFuzzer_suggestion6="mime-version" 69