From afc30a14a7f0cadbd506b6aa27b8f928ba6f2bc5 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 12 May 2020 14:37:22 +0200 Subject: [PATCH] :wrench: set Wandbox script to use HTTPS --- doc/examples/at__object_t_key_type_const.link | 2 +- doc/examples/begin.link | 2 +- doc/examples/cbegin.link | 2 +- doc/examples/cend.link | 2 +- doc/examples/contains_json_pointer.cpp | 2 -- doc/examples/contains_json_pointer.link | 2 +- doc/examples/contains_json_pointer.output | 3 --- doc/examples/count.link | 2 +- doc/examples/end.link | 2 +- doc/examples/erase__IteratorType.link | 2 +- doc/examples/erase__IteratorType_IteratorType.link | 2 +- doc/examples/erase__key_type.link | 2 +- doc/examples/erase__size_type.link | 2 +- doc/examples/operatorarray__size_type_const.link | 2 +- doc/scripts/send_to_wandbox.py | 2 +- 15 files changed, 13 insertions(+), 18 deletions(-) diff --git a/doc/examples/at__object_t_key_type_const.link b/doc/examples/at__object_t_key_type_const.link index 3000cc57..918ad588 100644 --- a/doc/examples/at__object_t_key_type_const.link +++ b/doc/examples/at__object_t_key_type_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/begin.link b/doc/examples/begin.link index 3875421d..faaf39b2 100644 --- a/doc/examples/begin.link +++ b/doc/examples/begin.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/cbegin.link b/doc/examples/cbegin.link index 547ae485..ba8da565 100644 --- a/doc/examples/cbegin.link +++ b/doc/examples/cbegin.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/cend.link b/doc/examples/cend.link index 7b8bcba4..c987036a 100644 --- a/doc/examples/cend.link +++ b/doc/examples/cend.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/contains_json_pointer.cpp b/doc/examples/contains_json_pointer.cpp index 5375a435..54bcaa9e 100644 --- a/doc/examples/contains_json_pointer.cpp +++ b/doc/examples/contains_json_pointer.cpp @@ -20,7 +20,6 @@ int main() << j.contains("/array/4"_json_pointer) << '\n' << j.contains("/baz"_json_pointer) << std::endl; - // out_of_range.106 try { // try to use an array index with leading '0' @@ -31,7 +30,6 @@ int main() std::cout << e.what() << '\n'; } - // out_of_range.109 try { // try to use an array index that is not a number diff --git a/doc/examples/contains_json_pointer.link b/doc/examples/contains_json_pointer.link index 778e151f..895b35f4 100644 --- a/doc/examples/contains_json_pointer.link +++ b/doc/examples/contains_json_pointer.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/contains_json_pointer.output b/doc/examples/contains_json_pointer.output index 82ec3675..dd1eb38c 100644 --- a/doc/examples/contains_json_pointer.output +++ b/doc/examples/contains_json_pointer.output @@ -2,9 +2,6 @@ true true true true -true false false false -[json.exception.parse_error.106] parse error: array index '01' must not begin with '0' -[json.exception.parse_error.109] parse error: array index 'one' is not a number diff --git a/doc/examples/count.link b/doc/examples/count.link index 9355bd2c..1fa4880e 100644 --- a/doc/examples/count.link +++ b/doc/examples/count.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/end.link b/doc/examples/end.link index 9ef322c4..6b92d224 100644 --- a/doc/examples/end.link +++ b/doc/examples/end.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__IteratorType.link b/doc/examples/erase__IteratorType.link index 67ea55ab..3d641d4c 100644 --- a/doc/examples/erase__IteratorType.link +++ b/doc/examples/erase__IteratorType.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__IteratorType_IteratorType.link b/doc/examples/erase__IteratorType_IteratorType.link index 0ea29891..237a069d 100644 --- a/doc/examples/erase__IteratorType_IteratorType.link +++ b/doc/examples/erase__IteratorType_IteratorType.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__key_type.link b/doc/examples/erase__key_type.link index 1d02dd58..d5162c3a 100644 --- a/doc/examples/erase__key_type.link +++ b/doc/examples/erase__key_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/erase__size_type.link b/doc/examples/erase__size_type.link index c3d94bb8..227dd98c 100644 --- a/doc/examples/erase__size_type.link +++ b/doc/examples/erase__size_type.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/examples/operatorarray__size_type_const.link b/doc/examples/operatorarray__size_type_const.link index 8a9cd0b2..9138c832 100644 --- a/doc/examples/operatorarray__size_type_const.link +++ b/doc/examples/operatorarray__size_type_const.link @@ -1 +1 @@ -online \ No newline at end of file +online \ No newline at end of file diff --git a/doc/scripts/send_to_wandbox.py b/doc/scripts/send_to_wandbox.py index eeef6a81..11265669 100755 --- a/doc/scripts/send_to_wandbox.py +++ b/doc/scripts/send_to_wandbox.py @@ -42,7 +42,7 @@ def strip_comments(text): # Post the given JSON data to Wandbox's API, and return the result # as a JSON object. def upload(options): - request = urllib2.Request('http://melpon.org/wandbox/api/compile.json') + request = urllib2.Request('https://melpon.org/wandbox/api/compile.json') request.add_header('Content-Type', 'application/json') response = urllib2.urlopen(request, json.dumps(options)) return json.loads(response.read())