Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
darkbit
ffbs-website
Commits
8b9e09d4
Commit
8b9e09d4
authored
5 years ago
by
Kasalehlia
Browse files
Options
Downloads
Patches
Plain Diff
Added Umlauts to name pattern
parent
797b55a8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cgi/approve_key
+1
-1
1 addition, 1 deletion
cgi/approve_key
cgi/deny_key
+1
-1
1 addition, 1 deletion
cgi/deny_key
cgi/newkey
+1
-1
1 addition, 1 deletion
cgi/newkey
with
3 additions
and
3 deletions
cgi/approve_key
+
1
−
1
View file @
8b9e09d4
...
...
@@ -6,7 +6,7 @@ import re
import
subprocess
cgitb
.
enable
()
NAME_PATTERN
=
'
^[a-zA-Z0-9-_\. ]+$
'
NAME_PATTERN
=
'
^[a-zA-Z0-9-_\.
äÄöÖüÜß
]+$
'
CODE_PATTERN
=
'
^[a-zA-Z0-9]{64}$
'
KEY_DIR
=
'
/home/kasalehlia/keys/
'
...
...
This diff is collapsed.
Click to expand it.
cgi/deny_key
+
1
−
1
View file @
8b9e09d4
...
...
@@ -6,7 +6,7 @@ import re
import
subprocess
cgitb
.
enable
()
NAME_PATTERN
=
'
^[a-zA-Z0-9-_\.]+$
'
NAME_PATTERN
=
'
^[a-zA-Z0-9-_\.
äÄöÖüÜß
]+$
'
CODE_PATTERN
=
'
^[a-zA-Z0-9]{64}$
'
KEY_DIR
=
'
/home/kasalehlia/keys/
'
...
...
This diff is collapsed.
Click to expand it.
cgi/newkey
+
1
−
1
View file @
8b9e09d4
...
...
@@ -16,7 +16,7 @@ cgitb.enable()
KEY_DIR
=
'
/home/kasalehlia/keys/
'
CONTACT_FILE
=
'
/home/kasalehlia/contacts.txt
'
KEY_PATTERN
=
r
'
# ([a-zA-Z0-9-_\. ]+) ?#? ?([\S ]+)?\r?\n([0-9a-f]{64})$
'
;
KEY_PATTERN
=
r
'
# ([a-zA-Z0-9-_\.
äÄöÖüÜß
]+) ?#? ?([\S ]+)?\r?\n([0-9a-f]{64})$
'
;
#KEY_PATTERN = r'# ([\w.- ]+) ?#? ?([\S ]+)?\r?\n([0-9a-f]{64})$';
EMAIL_FROM
=
'
keys@freifunk-bs.de
'
EMAIL_TO
=
'
ffbs-admin@stratum0.org
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment