pass=${rec[0]}
rec=("${rec[@]:1}") # shift
for field in ${rec[@]}; do
- echo $group $field $pass
+ echo $group $field:$pass
done
done
http.open("GET", url, true, '\\0', 'password');
http.onload = function() {
if (!this.status || this.readyState != 4) return;
- if (referrer) document.location = referrer;
+ if (referrer) { document.location = referrer; return; }
+ document.location = '/';
};
http.send();
#--------------------------------------------------------------#
# All to index.php
location @dbq {
- try_files /index.php?$query_string =404;
+ try_files $uri /index.php?$query_string;
}
#--------------------------------------------------------------#