Trim whitespace from username to avoid bypassing rate limits.
This commit is contained in:
parent
2dc4245b54
commit
13c5bb1551
|
@ -172,6 +172,7 @@ if ($type=="post") {
|
|||
}
|
||||
|
||||
if ($type=="post") {
|
||||
$name = trim($name);
|
||||
if (!$CONFIG['readonly']) {
|
||||
// post article to the newsserver
|
||||
if($references)
|
||||
|
|
Loading…
Reference in New Issue