New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webui: fix invalid url generated in first job #102

Merged
merged 1 commit into from Oct 9, 2018

Conversation

Projects
None yet
2 participants
@thraizz
Contributor

thraizz commented Jul 30, 2018

When you start the first job over the webui, a wrong-formatted URL was generated. By filtering for a number, preceded by a slash as well as optional trailing characters, we make sure that only the job id makes it into the URL.

Fixes #974: Submitting job jumps to invalid site

webui: fix invalid url generated in first job
Fixes #974: Submitting job jumps to invalid site
@fbergkemper

Well, line 360 to 363 could be simplified and beautified. However, it should work that way and at least fix the issue.

@fbergkemper fbergkemper merged commit 0d66917 into bareos:master Oct 9, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment