mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2026-04-26 16:15:54 +03:00
[PR #6] [MERGED] Fix security bugs (missing access checks, csrf token), fix other bugs (edit records, ..), add some features (masters for slaves, ...) #130
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
question
upstream
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsedit#130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tuxis-ie/nsedit/pull/6
Author: @stbuehler
Created: 10/5/2014
Status: ✅ Merged
Merged: 10/6/2014
Merged by: @tuxis-ie
Base:
master← Head:pull📝 Commits (3)
54fb62bRewrite/Refactoring9226420Improve UIe8f071fRework session handling; add CSRF tokens and autologin📊 Changes
8 files changed (+1115 additions, -467 deletions)
View changed files
📝
css/base.css(+28 -0)📝
includes/config.inc.php-dist(+6 -4)📝
includes/misc.inc.php(+75 -27)📝
includes/session.inc.php(+249 -65)📝
includes/wefactauth.inc.php(+0 -2)📝
index.php(+228 -110)📝
users.php(+65 -19)📝
zones.php(+464 -240)📄 Description
zone edits were completely unchecked (after login); only list and creation were
protected.
to search for the zone in the list of all zones.
other places)
to dialog width
sizes
show all types for every field
Sadly the code was in a very bad shape. I'm still not happy with index.php; mixing php, html and javascript like that is horrible.
The monospace font for the fields is just my own preference - if this is a problem I can undo it. Also jtables makes it very hard to style the column width - the CSS rules now are working on my screen, but don't scale well (test with long content, like TLSA records - a long hex string the browser doesn't like to break).
Also it might be nice to use more consistent names overall ('label' vs 'name', 'username' vs 'emailaddress', edit, update, list, ...).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.