/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #ifndef mozilla_TestUrisToValidate_h #define mozilla_TestUrisToValidate_h const wchar_t* kTestUris[] = { L"callto:%.txt", L"callto:%00.txt", L"callto:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"fdaction:%.txt", L"fdaction:%00.txt", L"fdaction:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"feed:%.txt", L"feed:%00.txt", L"feed:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"feeds:%.txt", L"feeds:%00.txt", L"feeds:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"file:///%.txt", L"file:///%00.txt", L"file:///%41%2D%31%5Ftest%22ing?%41%31%00.txt", L"firefox.url:%.txt", L"firefox.url:%00.txt", L"firefox.url:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"firefoxurl:%.txt", L"firefoxurl:%00.txt", L"firefoxurl:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ftp:%.txt", L"ftp:%00.txt", L"ftp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"gopher:%.txt", L"gopher:%00.txt", L"gopher:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"gtalk:%.txt", L"gtalk:%00.txt", L"gtalk:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"HTTP:%.txt", L"HTTP:%00.txt", L"HTTP:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"http:%.txt", L"http:%00.txt", L"http:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"https://bug389580.bmoattachments.org/%.txt", L"https://bug389580.bmoattachments.org/%00.txt", L"https://bug389580.bmoattachments.org/" L"%41%2D%31%5Ftest%22ing?%41%31%00.txt", L"ie.ftp:%.txt", L"ie.ftp:%00.txt", L"ie.ftp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ie.http:%.txt", L"ie.http:%00.txt", L"ie.http:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ie.https:%.txt", L"ie.https:%00.txt", L"ie.https:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"irc:%.txt", L"irc:%00.txt", L"irc:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ircs:%.txt", L"ircs:%00.txt", L"ircs:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itms:%.txt", L"itms:%00.txt", L"itms:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itmss:%.txt", L"itmss:%00.txt", L"itmss:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itpc:%.txt", L"itpc:%00.txt", L"itpc:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itunes.assocprotocol.itms:%.txt", L"itunes.assocprotocol.itms:%00.txt", L"itunes.assocprotocol.itms:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itunes.assocprotocol.itmss:%.txt", L"itunes.assocprotocol.itmss:%00.txt", L"itunes.assocprotocol.itmss:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itunes.assocprotocol.itpc:%.txt", L"itunes.assocprotocol.itpc:%00.txt", L"itunes.assocprotocol.itpc:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ldap:%.txt", L"ldap:%00.txt", L"ldap:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mailto:%.txt", L"mailto:%00.txt", L"mailto:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mms:%.txt", L"mms:%00.txt", L"mms:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mmst:%.txt", L"mmst:%00.txt", L"mmst:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mmst:%.txt", L"mmst:%00.txt", L"mmst:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mmsu:%.txt", L"mmsu:%00.txt", L"mmsu:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mmsu:%.txt", L"mmsu:%00.txt", L"mmsu:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"https://bug389580.bmoattachments.org/" L"Mozilla%20Thunderbird.Url.Mailto:%.txt", L"https://bug389580.bmoattachments.org/" L"Mozilla%20Thunderbird.Url.Mailto:%00.txt", L"https://bug389580.bmoattachments.org/" L"Mozilla%20Thunderbird.Url.Mailto:%41%2D%31%5Ftest%22ing?%41%31%00.txt", L"navigatorurl:%.txt", L"navigatorurl:%00.txt", L"navigatorurl:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"news:%.txt", L"news:%00.txt", L"news:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"nntp:%.txt", L"nntp:%00.txt", L"nntp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"oms:%.txt", L"oms:%00.txt", L"oms:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"outlook:%.txt", L"outlook:%00.txt", L"outlook:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"outlook.url.feed:%.txt", L"outlook.url.feed:%00.txt", L"outlook.url.feed:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"outlook.url.mailto:%.txt", L"outlook.url.mailto:%00.txt", L"outlook.url.mailto:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"outlook.url.webcal:%.txt", L"outlook.url.webcal:%00.txt", L"outlook.url.webcal:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"outlookfeed:%.txt", L"outlookfeed:%00.txt", L"outlookfeed:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"outlookfeeds:%.txt", L"outlookfeeds:%00.txt", L"outlookfeeds:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"pnm:%.txt", L"pnm:%00.txt", L"pnm:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"prls.intappfile.ftp:%.txt", L"prls.intappfile.ftp:%00.txt", L"prls.intappfile.ftp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"prls.intappfile.http:%.txt", L"prls.intappfile.http:%00.txt", L"prls.intappfile.http:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"prls.intappfile.https:%.txt", L"prls.intappfile.https:%00.txt", L"prls.intappfile.https:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"prls.intappfile.mailto:%.txt", L"prls.intappfile.mailto:%00.txt", L"prls.intappfile.mailto:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"rlogin:%.txt", L"rlogin:%00.txt", L"rlogin:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"rtsp:%.txt", L"rtsp:%00.txt", L"rtsp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"scp:%.txt", L"scp:%00.txt", L"scp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"sftp:%.txt", L"sftp:%00.txt", L"sftp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"sip:%.txt", L"sip:%00.txt", L"sip:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"skype:%.txt", L"skype:%00.txt", L"skype:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"snews:%.txt", L"snews:%00.txt", L"snews:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"telnet:%.txt", L"telnet:%00.txt", L"telnet:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"thunderbird.url.mailto:%.txt", L"thunderbird.url.mailto:%00.txt", L"thunderbird.url.mailto:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"thunderbird.url.news:%.txt", L"thunderbird.url.news:%00.txt", L"thunderbird.url.news:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"tn3270:%.txt", L"tn3270:%00.txt", L"tn3270:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"tscrec4:%.txt", L"tscrec4:%00.txt", L"tscrec4:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"webcal:%.txt", L"webcal:%00.txt", L"webcal:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"webcal:%.txt", L"webcal:%00.txt", L"webcal:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"webcals:%.txt", L"webcals:%00.txt", L"webcals:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"windowscalendar.urlwebcal.1:%.txt", L"windowscalendar.urlwebcal.1:%00.txt", L"windowscalendar.urlwebcal.1:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"windowsmail.url.mailto:%.txt", L"windowsmail.url.mailto:%00.txt", L"windowsmail.url.mailto:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"windowsmail.url.news:%.txt", L"windowsmail.url.news:%00.txt", L"windowsmail.url.news:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"windowsmail.url.nntp:%.txt", L"windowsmail.url.nntp:%00.txt", L"windowsmail.url.nntp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"windowsmail.url.snews:%.txt", L"windowsmail.url.snews:%00.txt", L"windowsmail.url.snews:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"wmp11.assocprotocol.mms:%.txt", L"wmp11.assocprotocol.mms:%00.txt", L"wmp11.assocprotocol.mms:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"wpc:%.txt", L"wpc:%00.txt", L"wpc:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ymsgr:%.txt", L"ymsgr:%00.txt", L"ymsgr:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"acrobat:%.txt", L"acrobat:%00.txt", L"acrobat:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"acsui:%.txt", L"acsui:%00.txt", L"acsui:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"aim:%.txt", L"aim:%00.txt", L"aim:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"aim:%.txt", L"aim:%00.txt", L"aim:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"allc8.commands.2:%.txt", L"allc8.commands.2:%00.txt", L"allc8.commands.2:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"allholdem.commands.2:%.txt", L"allholdem.commands.2:%00.txt", L"allholdem.commands.2:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"allpoker.commands.2:%.txt", L"allpoker.commands.2:%00.txt", L"allpoker.commands.2:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"aolautofix:%.txt", L"aolautofix:%00.txt", L"aolautofix:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"aolds:%.txt", L"aolds:%00.txt", L"aolds:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"bc:%.txt", L"bc:%00.txt", L"bc:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"bctp:%.txt", L"bctp:%00.txt", L"bctp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"bittorrent:%.txt", L"bittorrent:%00.txt", L"bittorrent:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"camfrog:%.txt", L"camfrog:%00.txt", L"camfrog:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"csi:%.txt", L"csi:%00.txt", L"csi:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"cvs:%.txt", L"cvs:%00.txt", L"cvs:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"daap:%.txt", L"daap:%00.txt", L"daap:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ed2k:%.txt", L"ed2k:%00.txt", L"ed2k:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"explorer.assocprotocol.search-ms:%.txt", L"explorer.assocprotocol.search-ms:%00.txt", L"explorer.assocprotocol.search-ms:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"gizmoproject:%.txt", L"gizmoproject:%00.txt", L"gizmoproject:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"gnet:%.txt", L"gnet:%00.txt", L"gnet:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"gnutella:%.txt", L"gnutella:%00.txt", L"gnutella:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"gsarcade:%.txt", L"gsarcade:%00.txt", L"gsarcade:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"hcp:%.txt", L"hcp:%00.txt", L"hcp:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"icquser:%.txt", L"icquser:%00.txt", L"icquser:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"icy:%.txt", L"icy:%00.txt", L"icy:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"imesync:%.txt", L"imesync:%00.txt", L"imesync:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itunes.assocprotocol.daap:%.txt", L"itunes.assocprotocol.daap:%00.txt", L"itunes.assocprotocol.daap:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"itunes.assocprotocol.pcast:%.txt", L"itunes.assocprotocol.pcast:%00.txt", L"itunes.assocprotocol.pcast:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"joost:%.txt", L"joost:%00.txt", L"joost:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"m4macdrive:%.txt", L"m4macdrive:%00.txt", L"m4macdrive:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"magnet:%.txt", L"magnet:%00.txt", L"magnet:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mapi:%.txt", L"mapi:%00.txt", L"mapi:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mc12:%.txt", L"mc12:%00.txt", L"mc12:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mediajukebox:%.txt", L"mediajukebox:%00.txt", L"mediajukebox:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"morpheus:%.txt", L"morpheus:%00.txt", L"morpheus:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mp2p:%.txt", L"mp2p:%00.txt", L"mp2p:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"mpodcast:%.txt", L"mpodcast:%00.txt", L"mpodcast:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"msbd:%.txt", L"msbd:%00.txt", L"msbd:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"msbd:%.txt", L"msbd:%00.txt", L"msbd:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"msdigitallocker:%.txt", L"msdigitallocker:%00.txt", L"msdigitallocker:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"outlook.url.stssync:%.txt", L"outlook.url.stssync:%00.txt", L"outlook.url.stssync:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"p2p:%.txt", L"p2p:%00.txt", L"p2p:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"pando:%.txt", L"pando:%00.txt", L"pando:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"pcast:%.txt", L"pcast:%00.txt", L"pcast:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"picasa:%.txt", L"picasa:%00.txt", L"picasa:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"plaxo:%.txt", L"plaxo:%00.txt", L"plaxo:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"play:%.txt", L"play:%00.txt", L"play:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"podcast:%.txt", L"podcast:%00.txt", L"podcast:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ppmate:%.txt", L"ppmate:%00.txt", L"ppmate:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ppmates:%.txt", L"ppmates:%00.txt", L"ppmates:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ppstream:%.txt", L"ppstream:%00.txt", L"ppstream:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"quicktime:%.txt", L"quicktime:%00.txt", L"quicktime:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"realplayer.autoplay.6:%.txt", L"realplayer.autoplay.6:%00.txt", L"realplayer.autoplay.6:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"realplayer.cdburn.6:%.txt", L"realplayer.cdburn.6:%00.txt", L"realplayer.cdburn.6:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"rhap:%.txt", L"rhap:%00.txt", L"rhap:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"sc:%.txt", L"sc:%00.txt", L"sc:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"search-ms:%.txt", L"search-ms:%00.txt", L"search-ms:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"shareaza:%.txt", L"shareaza:%00.txt", L"shareaza:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"shell:%.txt", L"shell:%00.txt", L"shell:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"shout:%.txt", L"shout:%00.txt", L"shout:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"sig2dat:%.txt", L"sig2dat:%00.txt", L"sig2dat:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"sop:%.txt", L"sop:%00.txt", L"sop:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"steam:%.txt", L"steam:%00.txt", L"steam:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"stssync:%.txt", L"stssync:%00.txt", L"stssync:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"svn:%.txt", L"svn:%00.txt", L"svn:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"svn+ssh:%.txt", L"svn+ssh:%00.txt", L"svn+ssh:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"synacast:%.txt", L"synacast:%00.txt", L"synacast:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"torrent:%.txt", L"torrent:%00.txt", L"torrent:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"tsvn:%.txt", L"tsvn:%00.txt", L"tsvn:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"tvants:%.txt", L"tvants:%00.txt", L"tvants:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"tvu:%.txt", L"tvu:%00.txt", L"tvu:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"unsv:%.txt", L"unsv:%00.txt", L"unsv:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"uvox:%.txt", L"uvox:%00.txt", L"uvox:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"ventrilo:%.txt", L"ventrilo:%00.txt", L"ventrilo:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"vs:%.txt", L"vs:%00.txt", L"vs:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"zune:%.txt", L"zune:%00.txt", L"zune:%41%2D%31%5Ftest"ing?%41%31%00.txt", L"https://example.com/?a=123&b=456", L"https://example.com/#123?a=123&b=456", L"https://example.com/?#123a=123&b=456", L"https://example.com/?a=123&b=456#123", L"mailto:%41%42%23%31", L"mailto:%41%42%23%31#fragment", L"news:%41%42%23%31", L"news:%41%42%23%31#fragment", L"microsoft-edge:%41%42%23%31", L"microsoft-edge:%41%42%23%31#fragment", L"microsoft-edge:%41%42%23%31#fragment#", L"microsoft-edge:%41%42%23%31####", L"something-unknown:", L"something-unknown:x=123", L"something-unknown:?=123", L"something-unknown:#code=0123456789%200123456789&x=01234567890123456789", }; #endif // mozilla_TestUrisToValidate_h