litle fix in utils trim
+ added 2 functions to check script output + created a html page with 4 forms for tests + created 2 cpp forms, with and without creating header content-length
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
NAME = webserv
|
NAME = webserv
|
||||||
CXX = clang++
|
CXX = c++
|
||||||
|
|
||||||
CXXFLAGS = -Wall -Wextra #-Werror
|
CXXFLAGS = -Wall -Wextra #-Werror
|
||||||
CXXFLAGS += $(HEADERS_D:%=-I%)
|
CXXFLAGS += $(HEADERS_D:%=-I%)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ server {
|
|||||||
|
|
||||||
location /cgi-bin {
|
location /cgi-bin {
|
||||||
root ./srcs/cgi-bin/;
|
root ./srcs/cgi-bin/;
|
||||||
cgi_ext cpp php sh;
|
cgi_ext out php sh;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /redirect {
|
location /redirect {
|
||||||
|
|||||||
Binary file not shown.
114
srcs/cgi-bin/cgi_cpp.cpp
Normal file
114
srcs/cgi-bin/cgi_cpp.cpp
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
# include <iostream>
|
||||||
|
# include <string>
|
||||||
|
# include <sstream>
|
||||||
|
# include <vector>
|
||||||
|
# include <stdlib.h> // getenv
|
||||||
|
|
||||||
|
# define CR "\r"
|
||||||
|
# define LF "\n"
|
||||||
|
# define CRLF CR LF
|
||||||
|
# define NPOS std::string::npos
|
||||||
|
|
||||||
|
std::string trim(std::string str, char del)
|
||||||
|
{
|
||||||
|
size_t pos;
|
||||||
|
|
||||||
|
// delete leadings del
|
||||||
|
pos = str.find_first_not_of(del);
|
||||||
|
if (pos == NPOS)
|
||||||
|
pos = str.size();
|
||||||
|
str = str.substr(pos);
|
||||||
|
|
||||||
|
// delete trailing del
|
||||||
|
pos = str.find_last_not_of(del);
|
||||||
|
if (pos != NPOS)
|
||||||
|
str = str.substr(0, pos + 1);
|
||||||
|
|
||||||
|
return str;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string>
|
||||||
|
split(const std::string & input, std::string delim, char ctrim = '\0')
|
||||||
|
{
|
||||||
|
std::vector<std::string> split_str;
|
||||||
|
std::string tmp;
|
||||||
|
size_t start = 0;
|
||||||
|
size_t end = 0;
|
||||||
|
size_t len = 0;
|
||||||
|
|
||||||
|
while (end != NPOS)
|
||||||
|
{
|
||||||
|
end = input.find(delim, start);
|
||||||
|
len = end - start;
|
||||||
|
if (end == NPOS)
|
||||||
|
len = end;
|
||||||
|
tmp = input.substr(start, len);
|
||||||
|
if (ctrim != '\0')
|
||||||
|
tmp = trim(tmp, ctrim);
|
||||||
|
if (tmp.size() != 0)
|
||||||
|
split_str.push_back( tmp );
|
||||||
|
start = end + delim.size();
|
||||||
|
}
|
||||||
|
return split_str;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main (int ac, char **av, char **en)
|
||||||
|
{
|
||||||
|
std::vector<std::string> split_str;
|
||||||
|
std::vector<std::string> sub_split_str;
|
||||||
|
std::vector<std::string>::const_iterator it;
|
||||||
|
char * tmp;
|
||||||
|
std::string input;
|
||||||
|
std::string http_header;
|
||||||
|
std::string http_body;
|
||||||
|
std::ostringstream strs;
|
||||||
|
size_t pos;
|
||||||
|
|
||||||
|
std::cin >> input;
|
||||||
|
|
||||||
|
http_header = "Content-Type: text/html; charset=UTF-8" CRLF;
|
||||||
|
http_header += "Content-Length: ";
|
||||||
|
|
||||||
|
http_body = "\
|
||||||
|
<!DOCTYPE html>\
|
||||||
|
<html>\
|
||||||
|
<head>\
|
||||||
|
<title>CGI</title>\
|
||||||
|
</head>\
|
||||||
|
<body>\
|
||||||
|
<h2>cgi</h2>\
|
||||||
|
";
|
||||||
|
|
||||||
|
http_body += "<h3>";
|
||||||
|
tmp = getenv("REQUEST_METHOD");
|
||||||
|
if (tmp != NULL)
|
||||||
|
http_body += tmp;
|
||||||
|
else
|
||||||
|
http_body = "method not foud";
|
||||||
|
http_body += "</h3>";
|
||||||
|
|
||||||
|
split_str = split(input, "&");
|
||||||
|
for (it = split_str.begin(); it != split_str.end(); ++it)
|
||||||
|
{
|
||||||
|
sub_split_str = split(*it, "=");
|
||||||
|
http_body += "<h3>";
|
||||||
|
http_body += sub_split_str[0];
|
||||||
|
http_body += "</h3>";
|
||||||
|
http_body += "<p>";
|
||||||
|
http_body += sub_split_str[1];
|
||||||
|
http_body += "</p>";
|
||||||
|
}
|
||||||
|
|
||||||
|
http_body += "\
|
||||||
|
</body>\
|
||||||
|
</html>\
|
||||||
|
";
|
||||||
|
|
||||||
|
strs << http_body.size();
|
||||||
|
http_header += strs.str();
|
||||||
|
http_header += CRLF CRLF;
|
||||||
|
|
||||||
|
std::cout << http_header << CRLF CRLF << http_body;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
133
srcs/cgi-bin/cgi_cpp_content_length.cpp
Normal file
133
srcs/cgi-bin/cgi_cpp_content_length.cpp
Normal file
@@ -0,0 +1,133 @@
|
|||||||
|
# include <iostream>
|
||||||
|
# include <string>
|
||||||
|
# include <sstream>
|
||||||
|
# include <vector>
|
||||||
|
# include <stdlib.h> // getenv
|
||||||
|
|
||||||
|
# define CR "\r"
|
||||||
|
# define LF "\n"
|
||||||
|
# define CRLF CR LF
|
||||||
|
# define NPOS std::string::npos
|
||||||
|
|
||||||
|
std::string trim(std::string str, char del)
|
||||||
|
{
|
||||||
|
size_t pos;
|
||||||
|
|
||||||
|
// delete leadings del
|
||||||
|
pos = str.find_first_not_of(del);
|
||||||
|
if (pos == NPOS)
|
||||||
|
pos = str.size();
|
||||||
|
str = str.substr(pos);
|
||||||
|
|
||||||
|
// delete trailing del
|
||||||
|
pos = str.find_last_not_of(del);
|
||||||
|
if (pos != NPOS)
|
||||||
|
str = str.substr(0, pos + 1);
|
||||||
|
|
||||||
|
return str;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string>
|
||||||
|
split(const std::string & input, std::string delim, char ctrim = '\0')
|
||||||
|
{
|
||||||
|
std::vector<std::string> split_str;
|
||||||
|
std::string tmp;
|
||||||
|
size_t start = 0;
|
||||||
|
size_t end = 0;
|
||||||
|
size_t len = 0;
|
||||||
|
|
||||||
|
while (end != NPOS)
|
||||||
|
{
|
||||||
|
end = input.find(delim, start);
|
||||||
|
len = end - start;
|
||||||
|
if (end == NPOS)
|
||||||
|
len = end;
|
||||||
|
tmp = input.substr(start, len);
|
||||||
|
if (ctrim != '\0')
|
||||||
|
tmp = trim(tmp, ctrim);
|
||||||
|
if (tmp.size() != 0)
|
||||||
|
split_str.push_back( tmp );
|
||||||
|
start = end + delim.size();
|
||||||
|
}
|
||||||
|
return split_str;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main (int ac, char **av, char **en) {
|
||||||
|
std::vector<std::string> split_str;
|
||||||
|
std::vector<std::string> sub_split_str;
|
||||||
|
std::vector<std::string>::const_iterator it;
|
||||||
|
char * tmp;
|
||||||
|
std::string output;
|
||||||
|
std::ostringstream strs;
|
||||||
|
size_t pos;
|
||||||
|
|
||||||
|
std::cout << "Content-Type: text/html; charset=UTF-8" << CRLF CRLF;
|
||||||
|
|
||||||
|
std::cout
|
||||||
|
<< "<!DOCTYPE html>"
|
||||||
|
<< "<html>"
|
||||||
|
<< "<head>"
|
||||||
|
<< " <title>CGI</title>"
|
||||||
|
<< "</head>"
|
||||||
|
<< "<body>"
|
||||||
|
<< " <h2>cgi</h2>"
|
||||||
|
<< " <h3>";
|
||||||
|
|
||||||
|
tmp = getenv("REQUEST_METHOD");
|
||||||
|
if (tmp != NULL)
|
||||||
|
output = tmp;
|
||||||
|
else
|
||||||
|
output = "method not foud";
|
||||||
|
|
||||||
|
std::cout
|
||||||
|
<< output
|
||||||
|
<< " </h3>"
|
||||||
|
<< " <h3>http-request-body-message content :</h3>";
|
||||||
|
|
||||||
|
|
||||||
|
std::cin >> output;
|
||||||
|
split_str = split(output, "&");
|
||||||
|
output.clear();
|
||||||
|
for (it = split_str.begin(); it != split_str.end(); ++it)
|
||||||
|
{
|
||||||
|
sub_split_str = split(*it, "=");
|
||||||
|
|
||||||
|
std::cout
|
||||||
|
<< "<p>"
|
||||||
|
<< sub_split_str[0]
|
||||||
|
<< " : "
|
||||||
|
<< sub_split_str[1]
|
||||||
|
<< "</p>";
|
||||||
|
}
|
||||||
|
|
||||||
|
tmp = getenv("QUERY_STRING");
|
||||||
|
if (tmp == NULL)
|
||||||
|
std::cout << "query not foud";
|
||||||
|
|
||||||
|
std::cout
|
||||||
|
<< " <h3>http-uri-query content :</h3>";
|
||||||
|
|
||||||
|
output = tmp;
|
||||||
|
split_str = split(output, "&");
|
||||||
|
output.clear();
|
||||||
|
for (it = split_str.begin(); it != split_str.end(); ++it)
|
||||||
|
{
|
||||||
|
sub_split_str = split(*it, "=");
|
||||||
|
|
||||||
|
std::cout
|
||||||
|
<< "<h3>"
|
||||||
|
<< sub_split_str[0]
|
||||||
|
<< "</h3>"
|
||||||
|
<< "<p>"
|
||||||
|
<< sub_split_str[1]
|
||||||
|
<< "</p>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
std::cout
|
||||||
|
<< "</body>"
|
||||||
|
<< "</html>";
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -226,7 +226,7 @@ std::string
|
|||||||
begin = str.rfind(delim, pos);
|
begin = str.rfind(delim, pos);
|
||||||
if (begin == NPOS)
|
if (begin == NPOS)
|
||||||
begin = 0;
|
begin = 0;
|
||||||
else
|
else if (begin < pos)
|
||||||
begin += delim.size();
|
begin += delim.size();
|
||||||
|
|
||||||
end = str.find(delim, pos);
|
end = str.find(delim, pos);
|
||||||
|
|||||||
@@ -114,6 +114,8 @@ class Webserv
|
|||||||
void _check_script_output(Client *client, std::string & output);
|
void _check_script_output(Client *client, std::string & output);
|
||||||
void _check_script_status(Client *client, std::string & output);
|
void _check_script_status(Client *client, std::string & output);
|
||||||
void _check_script_fields(Client *client, std::string & output);
|
void _check_script_fields(Client *client, std::string & output);
|
||||||
|
void _add_script_body_length_header(std::string & output);
|
||||||
|
void _remove_body_leading_empty_lines(std::string & output);
|
||||||
// epoll_update.cpp
|
// epoll_update.cpp
|
||||||
int _epoll_update(int fd, uint32_t events, int op);
|
int _epoll_update(int fd, uint32_t events, int op);
|
||||||
int _epoll_update(int fd, uint32_t events, int op, void *ptr);
|
int _epoll_update(int fd, uint32_t events, int op, void *ptr);
|
||||||
|
|||||||
@@ -140,8 +140,6 @@ std::string Webserv::_exec_script(Client *client, char **env)
|
|||||||
std::string body = client->get_rq_body();
|
std::string body = client->get_rq_body();
|
||||||
int fd_in[2];
|
int fd_in[2];
|
||||||
int fd_out[2];
|
int fd_out[2];
|
||||||
int save_in = dup(STDIN_FILENO);
|
|
||||||
int save_out = dup(STDOUT_FILENO);
|
|
||||||
std::string path;
|
std::string path;
|
||||||
|
|
||||||
pipe(fd_in);
|
pipe(fd_in);
|
||||||
@@ -150,7 +148,7 @@ std::string Webserv::_exec_script(Client *client, char **env)
|
|||||||
pid = fork();
|
pid = fork();
|
||||||
if (pid == -1)
|
if (pid == -1)
|
||||||
std::cerr << "fork crashed" << std::endl;
|
std::cerr << "fork crashed" << std::endl;
|
||||||
else if (pid == 0)
|
else if (pid == 0) // child
|
||||||
{
|
{
|
||||||
close(FD_WR_TO_CHLD);
|
close(FD_WR_TO_CHLD);
|
||||||
close(FD_RD_FR_CHLD);
|
close(FD_RD_FR_CHLD);
|
||||||
@@ -162,9 +160,10 @@ std::string Webserv::_exec_script(Client *client, char **env)
|
|||||||
// for tests execve crash :
|
// for tests execve crash :
|
||||||
//execve("wrong", nll, env);
|
//execve("wrong", nll, env);
|
||||||
std::cerr << "execve crashed.\n";
|
std::cerr << "execve crashed.\n";
|
||||||
|
|
||||||
// TODO HUGO : check errno
|
// TODO HUGO : check errno
|
||||||
}
|
}
|
||||||
else
|
else //parent
|
||||||
{
|
{
|
||||||
close(FD_RD_FR_PRNT);
|
close(FD_RD_FR_PRNT);
|
||||||
close(FD_WR_TO_PRNT);
|
close(FD_WR_TO_PRNT);
|
||||||
@@ -183,8 +182,6 @@ std::string Webserv::_exec_script(Client *client, char **env)
|
|||||||
if (script_output.empty())
|
if (script_output.empty())
|
||||||
script_output = "Status: 500\r\n\r\n";
|
script_output = "Status: 500\r\n\r\n";
|
||||||
|
|
||||||
dup2(save_in, STDIN_FILENO);
|
|
||||||
dup2(save_out, STDOUT_FILENO);
|
|
||||||
return script_output;
|
return script_output;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -192,6 +189,8 @@ void Webserv::_check_script_output(Client *client, std::string & output)
|
|||||||
{
|
{
|
||||||
_check_script_status(client, output);
|
_check_script_status(client, output);
|
||||||
_check_script_fields(client, output);
|
_check_script_fields(client, output);
|
||||||
|
_add_script_body_length_header(output);
|
||||||
|
_remove_body_leading_empty_lines(output);
|
||||||
// _check_script_empty_lines(client, output);
|
// _check_script_empty_lines(client, output);
|
||||||
// _check_script_space_colons(client, output);
|
// _check_script_space_colons(client, output);
|
||||||
// _check_script_new_lines(client, output);
|
// _check_script_new_lines(client, output);
|
||||||
@@ -248,3 +247,58 @@ void Webserv::_check_script_fields(Client *client, std::string & output)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Webserv::_remove_body_leading_empty_lines(std::string & output)
|
||||||
|
{
|
||||||
|
size_t pos;
|
||||||
|
size_t pos_empty;
|
||||||
|
|
||||||
|
pos = output.find(CRLF CRLF);
|
||||||
|
if (pos == NPOS)
|
||||||
|
return;
|
||||||
|
pos += CRLF_SIZE * 2;
|
||||||
|
pos_empty = pos;
|
||||||
|
while (pos_empty == pos)
|
||||||
|
{
|
||||||
|
pos = output.find(CRLF, pos);
|
||||||
|
if (pos == pos_empty)
|
||||||
|
extract_line(output, pos, CRLF);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Webserv::_add_script_body_length_header(std::string & output)
|
||||||
|
{
|
||||||
|
std::map<std::string, std::string> field;
|
||||||
|
std::map<std::string, std::string>::iterator it;
|
||||||
|
std::stringstream str_len;
|
||||||
|
std::string tmp;
|
||||||
|
size_t pos;
|
||||||
|
size_t len;
|
||||||
|
|
||||||
|
pos = output.find(CRLF CRLF);
|
||||||
|
if (pos != NPOS)
|
||||||
|
tmp = output.substr(pos + CRLF_SIZE);
|
||||||
|
len = tmp.size();
|
||||||
|
str_len << len;
|
||||||
|
|
||||||
|
// put script headers in map
|
||||||
|
tmp = output;
|
||||||
|
pos = tmp.find(CRLF CRLF);
|
||||||
|
if (pos != NPOS)
|
||||||
|
tmp.erase(pos);
|
||||||
|
::parse_http_headers(tmp, field);
|
||||||
|
// case insensitive search in map for "Content-Length"
|
||||||
|
tmp = "Content-Length";
|
||||||
|
for (it = field.begin(); it != field.end(); ++it)
|
||||||
|
{
|
||||||
|
if (str_tolower(it->first) == str_tolower(tmp))
|
||||||
|
{
|
||||||
|
pos = output.find(it->first);
|
||||||
|
::extract_line(output, pos, CRLF);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tmp += ": ";
|
||||||
|
tmp += str_len.str();
|
||||||
|
tmp += CRLF;
|
||||||
|
output.insert(0, tmp);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
|
|
||||||
#include "parsing_message_http.hpp"
|
|
||||||
|
|
||||||
std::string
|
|
||||||
parse_http_body(std::string message)
|
|
||||||
{
|
|
||||||
std::string body;
|
|
||||||
size_t pos;
|
|
||||||
|
|
||||||
pos = message.find(CRLF CRLF);
|
|
||||||
pos += std::string(CRLF CRLF).size();
|
|
||||||
// TODO: copying just like that might fail in case of binary or images
|
|
||||||
body = message.substr(pos);
|
|
||||||
|
|
||||||
return body;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
|
|
||||||
#ifndef PARSING_MESSAGE_HTTP_HPP
|
|
||||||
# define PARSING_MESSAGE_HTTP_HPP
|
|
||||||
|
|
||||||
# include <iostream>
|
|
||||||
# include <string>
|
|
||||||
# include <vector>
|
|
||||||
# include <map>
|
|
||||||
# include "utils.hpp"
|
|
||||||
|
|
||||||
std::map<std::string, std::string>
|
|
||||||
parse_http_headers (
|
|
||||||
std::string headers,
|
|
||||||
std::map<std::string, std::string> fields )
|
|
||||||
|
|
||||||
std::string
|
|
||||||
parse_http_body(std::string message);
|
|
||||||
|
|
||||||
// http message structure :
|
|
||||||
//
|
|
||||||
// start-line
|
|
||||||
// request-line
|
|
||||||
// method SP target SP version
|
|
||||||
// response-line
|
|
||||||
// version SP status SP reason
|
|
||||||
// header-fields
|
|
||||||
// name ":" SP value
|
|
||||||
// CRLF
|
|
||||||
// body
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -3,11 +3,82 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title></title>
|
<title></title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
form {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
border: 1px solid red;
|
||||||
|
margin: 20px auto;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
form > * {
|
||||||
|
display: flex;
|
||||||
|
margin: 5px auto 5px 5px;
|
||||||
|
}
|
||||||
|
mark {
|
||||||
|
margin: 0px 3px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form method="get">
|
|
||||||
|
<form method="get" action="/cgi-bin/cgi_cpp.out">
|
||||||
|
|
||||||
|
<p><mark>get</mark> form</p>
|
||||||
|
<p>to <mark>/cgi-bin/cgi_cpp.out</mark></p>
|
||||||
|
<label for="fname">First name:</label><br>
|
||||||
|
<input type="text" id="fname" name="fname" value="John"><br>
|
||||||
|
<label for="lname">Last name:</label><br>
|
||||||
|
<input type="text" id="lname" name="lname" value="Doe"><br><br>
|
||||||
|
|
||||||
<input type="submit" value="submit">
|
<input type="submit" value="submit">
|
||||||
</form>
|
</form>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<form method="post" action="/cgi-bin/cgi_cpp.out">
|
||||||
|
|
||||||
|
<p><mark>post</mark> form</p>
|
||||||
|
<p>to <mark>/cgi-bin/cgi_cpp.out</mark></p>
|
||||||
|
<label for="fname">First name:</label><br>
|
||||||
|
<input type="text" id="fname" name="fname" value="John"><br>
|
||||||
|
<label for="lname">Last name:</label><br>
|
||||||
|
<input type="text" id="lname" name="lname" value="Doe"><br><br>
|
||||||
|
|
||||||
|
<input type="submit" value="submit">
|
||||||
|
</form>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<form method="get" action="/cgi-bin/cgi_cpp_content_length.out">
|
||||||
|
|
||||||
|
<p><mark>get</mark> form</p>
|
||||||
|
<p>to <mark>/cgi-bin/cgi_cpp_content_length.out</mark></p>
|
||||||
|
<label for="fname">First name:</label><br>
|
||||||
|
<input type="text" id="fname" name="fname" value="John"><br>
|
||||||
|
<label for="lname">Last name:</label><br>
|
||||||
|
<input type="text" id="lname" name="lname" value="Doe"><br><br>
|
||||||
|
|
||||||
|
<input type="submit" value="submit">
|
||||||
|
</form>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<form method="post" action="/cgi-bin/cgi_cpp_content_length.out">
|
||||||
|
|
||||||
|
<p><mark>post</mark> form</p>
|
||||||
|
<p>to <mark>/cgi-bin/cgi_cpp_content_length.out</mark></p>
|
||||||
|
<label for="fname">First name:</label><br>
|
||||||
|
<input type="text" id="fname" name="fname" value="John"><br>
|
||||||
|
<label for="lname">Last name:</label><br>
|
||||||
|
<input type="text" id="lname" name="lname" value="Doe"><br><br>
|
||||||
|
|
||||||
|
<input type="submit" value="submit">
|
||||||
|
</form>
|
||||||
|
<br>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title></title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<form method="post">
|
|
||||||
<input type="submit" value="submit">
|
|
||||||
</form>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user