Actions
action #95842
closedURLs containing "#" should be parsed as complete URLs size:S
Start date:
2021-07-22
Due date:
2021-08-12
% Done:
0%
Estimated time:
Description
Observation¶
Putting an URL like https://build.suse.de/request/show/245055#comment-3760740 into an openQA comment field is converted into HTML code
also commented on <a href="https://build.suse.de/request/show/245055">https://build.suse.de/request/show/245055</a>#comment-3760740
also commented on https://build.suse.de/request/show/245055#comment-3760740
Expected result¶
should be
also commented on <a href="https://build.suse.de/request/show/245055#comment-3760740">https://build.suse.de/request/show/245055#comment-3760740</a>
also commented on https://build.suse.de/request/show/245055#comment-3760740
Acceptance criteria¶
- AC1: The complete URL including the part after
#
is converted into an<a href>
Suggestions¶
- Add a test, e.g. in t/ui/15-comments.t
- Try to fix https://rt.cpan.org/Public/Bug/Display.html?id=55545 upstream . As alternative solve it downstream on our side in https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/Utils.pm#L433
Actions