powerdns-admin/powerdnsadmin/templates
corubba 9890ddfa64 Fix rrset changelog for names with hyphen
When clicking the changelog button for a record with the name
`foo-bar.example.org`, the url you get redirected to is
`/domain/example.org/changelog/foo-bar.example.org.-A`. Because of the
non-greedy behaviour of the path converter, the last part gets split at
the *first* hyphen, so the example above gets wrongly dissected into
`record_name=foo` and `record_type=bar.example.org.-A`. This results
for obvious reasons in an empty changelog.

As described in rfc5395 [0], types have to be alphanumerical, so its
converter is changed from path to string.

The hyphen is one of the few characters recommended by rfc1035 [1],
so it is a bad choice as separator. The separator is instead changed to
a slash.
Granted, this does not entirely solve the issue but at least makes it a
lot less likely to happen. Plus, a lot more and other things break in
pda with slashes in names.

[0] https://datatracker.ietf.org/doc/html/rfc5395#section-3.1
[1] https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1
2022-06-19 12:16:40 +02:00
..
emails Updated repository URL 2022-04-11 12:21:34 +03:00
errors Update docker stuff and bug fixes 2019-12-04 11:50:46 +07:00
admin_edit_account.html feat: Add the extra chars as an option 2022-06-18 14:30:56 +02:00
admin_edit_key.html feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
admin_edit_user.html Refactoring the code 2019-12-02 10:32:03 +07:00
admin_global_search.html Formatting 2019-12-11 10:32:02 +07:00
admin_history_table.html History table: relocate HTML for modal window (#1090) 2022-01-01 21:20:01 +01:00
admin_history.html Add general modal functions 2022-05-19 00:53:20 +02:00
admin_manage_account.html Refactoring the code 2019-12-02 10:32:03 +07:00
admin_manage_keys.html feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
admin_manage_user.html Refactoring the code 2019-12-02 10:32:03 +07:00
admin_pdns_stats.html Refactoring the code 2019-12-02 10:32:03 +07:00
admin_setting_authentication.html Datepicker replace (#1059) 2021-12-02 11:59:36 +01:00
admin_setting_basic.html Refactoring the code 2019-12-02 10:32:03 +07:00
admin_setting_pdns.html Refactoring the code 2019-12-02 10:32:03 +07:00
admin_setting_records.html Refactoring the code 2019-12-02 10:32:03 +07:00
applied_change_macro.html Fix rrest typo in history detail 2022-05-19 00:53:35 +02:00
base.html Add general modal functions 2022-05-19 00:53:20 +02:00
dashboard_domain.html History Tab Overhaul & Domain Record Modifications Changelog (#1042) 2021-11-30 11:02:37 +02:00
dashboard.html History table: relocate HTML for modal window (#1090) 2022-01-01 21:20:01 +01:00
domain_add.html feat: Option to forbid the creation of domain if it exists as a record (#1127) 2022-06-17 17:50:51 +02:00
domain_changelog.html Merge branch 'quotes-fix' 2021-12-03 14:17:39 +00:00
domain_remove.html Add general modal functions 2022-05-19 00:53:20 +02:00
domain_setting.html Add punycode (IDN) support (#879) 2021-03-16 19:37:05 +01:00
domain.html Fix rrset changelog for names with hyphen 2022-06-19 12:16:40 +02:00
dyndns.html Refactoring the code 2019-12-02 10:32:03 +07:00
email_confirmation.html Add url_for() for static assets 2020-05-20 00:03:36 +02:00
login.html Updated repository URL 2022-04-11 12:21:34 +03:00
maintenance.html Adjust html code 2020-06-20 11:08:14 +07:00
register_otp.html Updated repository URL 2022-04-11 12:21:34 +03:00
register.html Updated repository URL 2022-04-11 12:21:34 +03:00
resend_confirmation_email.html Updated repository URL 2022-04-11 12:21:34 +03:00
template_add.html Refactoring the code 2019-12-02 10:32:03 +07:00
template_edit.html Add general modal functions 2022-05-19 00:53:20 +02:00
template.html Refactoring the code 2019-12-02 10:32:03 +07:00
user_profile.html Add 'otp_force' basic setting (#1051) 2021-12-17 11:41:51 +01:00