View Issue Details

IDProjectCategoryView StatusLast Update
0000771bareos-corewebuipublic2017-01-27 11:58
Reporterkhetzal Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSanyOS Version3
Product Version16.2.4 
Fixed in Version16.2.5 
Summary0000771: 404 error when browsing a host starting with a number
DescriptionHello,

I've find an issue with hosts starting by a numeric value.
We name our hosts by fqdn. Some of them start with a numeric value. When we click on the hostname, we have a 404 error on the url:

http://mybackupserver/bareos-webui/client/details/001-my-host.fqdn-fd

There is the problem with all hosts that start by a number, and no problem with other hosts.

I think it's linked to https://bugs.bareos.org/view.php?id=595 :

/module/Client/config/module.config.php

Line 46:
'id' => '[a-zA-Z][a-zA-Z0-9\._-]*',
has to be changed to

'id' => '[a-zA-Z0-9][a-zA-Z0-9\._-]*',

But I've not tested the fix.
TagsNo tags attached.

Activities

frank

frank

2017-01-27 11:55

developer   ~0002537

Fix committed to bareos-webui bareos-16.2 branch with changesetid 6837.
frank

frank

2017-01-27 11:55

developer   ~0002539

Fix committed to bareos-webui master branch with changesetid 6841.

Related Changesets

bareos-webui: bareos-16.2 56eb3bbf

2017-01-26 12:36

frank

Ported: N/A

Details Diff
Fix to bugreport 0000771

Fixes 0000771: 404 error when browsing a host starting with a number
Affected Issues
0000771
mod - module/Client/config/module.config.php Diff File

bareos-webui: master ea0202e9

2017-01-26 12:36

frank

Ported: N/A

Details Diff
Fix to bugreport 0000771

Fixes 0000771: 404 error when browsing a host starting with a number
Affected Issues
0000771
mod - module/Client/config/module.config.php Diff File

Issue History

Date Modified Username Field Change
2017-01-26 09:56 khetzal New Issue
2017-01-26 11:27 frank Assigned To => frank
2017-01-26 11:27 frank Status new => assigned
2017-01-26 11:34 frank Status assigned => confirmed
2017-01-27 11:55 frank Changeset attached => bareos-webui bareos-16.2 56eb3bbf
2017-01-27 11:55 frank Note Added: 0002537
2017-01-27 11:55 frank Status confirmed => resolved
2017-01-27 11:55 frank Resolution open => fixed
2017-01-27 11:55 frank Changeset attached => bareos-webui master ea0202e9
2017-01-27 11:55 frank Note Added: 0002539
2017-01-27 11:57 frank Status resolved => feedback
2017-01-27 11:57 frank Resolution fixed => reopened
2017-01-27 11:58 frank Assigned To frank =>
2017-01-27 11:58 frank Status feedback => closed
2017-01-27 11:58 frank Resolution reopened => fixed
2017-01-27 11:58 frank Fixed in Version => 16.2.5