Open Bug 1468848 Opened 3 years ago Updated 2 years ago
Change presentation of show
_bug .cgi urls to be /bug/ID or /bug/ALIAS .
This bug changes the history.replaceState() code, and URL rewriting to allow /bug/ALIAS_OR_ID
I want to do this, but I think we should sit on it for a little bit. Reve
We should add a default value for the vagrant vm/docker for the localconfig_canonical_url. Without it that silently fails and the url is empty in the places it is needed.
Also i personally think we shouldn't change the displayed url unless we also change the way all the links are outputted. Just my 2 cents
Bug 1497070 shows `<base href>` is problematic. Better to mass-convert links to absolute path.
See Also: → 1497070
WIP including `show_bug.cgi?id=` => `bug/` conversion: https://github.com/kyoshino/bmo/compare/bug-1468848-bug-id
BTW I didn’t include /bug/ALIAS in the WIP because 1) alias can include any characters unlike general slugs (range of `\w` regex), may not be suitable for URL 2) alias can be multiple: Bug 1012506 shipped with Bugzilla 5 has to be backported to Bugzilla 6/Quantum
Assignee: dylan → kohei.yoshino
You need to log in before you can comment on or make changes to this bug.