如果带有非编码字符串的url如br.select_form(name = "frmName") if name of the form is stated, otherwise
br.select_form(nr=0) which means you are accessing the first form with index 0(nr=0)
浏览器从nginx获取400错误请求消息。
如何强制不检查特定参数编码,只需继续进程到app(node.js,php)?
php app config
tag/100%/
nodejs app config
server {
listen 80;
server_name domain2.com.localhost www.domain2.com.localhost;
access_log /usr/local/var/log/nginx/domain2.com.access.log;
root /Users/user/Sites/domain2.com/;
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$query_string;
client_max_body_size 1G;
location /robots.txt {
alias /Users/user/Sites/domain2.com/app/robots.txt;
}
location ~^/(images/|javascripts/|stylesheets/|fonts) {
root /Users/user/Sites/domain2.com/app/assets;
access_log off;
expires max;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /usr/local/etc/nginx/fastcgi.conf;
}
}