uniqush / uniqush-push

Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
http://uniqush.org
Apache License 2.0
1.53k stars 201 forks source link

Gometalinter fixes, including fixes for 2 actual bugs #222

Closed TysonAndre closed 5 years ago

TysonAndre commented 5 years ago
  1. Previously, the PSP list generated for retries would be a no-op (it shadowed the original list, resulting in "No device" errors)

  2. The regular expression previously used was wrong, and let through a few other undocumented characters, such as \. [, ], ^, and the backtick. The regex fragment was A-z, and those characters were in that mis-typed range. Stop allowing backticks, but temporarily continue to allow \. [, ], and ^ in subscriber/service names