aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index f11caae..d31ba07 100644
--- a/client.go
+++ b/client.go
@@ -210,7 +210,7 @@ func PostGet(w http.ResponseWriter, r *http.Request, db *sql.DB){
returnData.Boards = Boards
- re = regexp.MustCompile("f\\w+-\\w+")
+ re = regexp.MustCompile("f(\\w|[!@#$%^&*<>])+-(\\w|[!@#$%^&*<>])+")
if re.MatchString(path) { // if non local actor post
name := GetActorFollowNameFromPath(path)