Hangfire
Hangfire copied to clipboard
There is no validation for configuring queue names in HangfireServer option
Because the queue name has validation : 'A queue name that consists only of lowercase, letters, digits and underscores.'
However, when setup HangfireServer option, we can configure the invalid queue names.
builder.Services.AddHangfireServer(option =>
{
option.Queues = new string[]
{
"DEFAULT",
"&*asd!#",
"QUEUEU!"
};
});
The dashboard still can see these queue names and can browse anyone.

Hangfire version number : 1.7.31
@odinserj I'd appreciate if you can take a look on this PR that solve this issue. The queue naming validation. Sorry for being too noisy.
https://github.com/HangfireIO/Hangfire/pull/2320