FS#61917 - [aurweb] Improper conversion of diff index to aur commit link

Attached to Project: AUR web interface
Opened by James Harvey (jamespharvey20) - Tuesday, 05 March 2019, 09:56 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 21 April 2020, 16:03 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.7.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

At: https://aur.archlinux.org/packages/wiredtiger/#comment-684605

aurweb improperly changes the 4-space padded line signifying block code quoting from:

index fbad68b..6e24f35 100644

To:

index [`fbad68b`](https://aur.archlinux.org/cgit/aur.git/commit/?h=wiredtiger&id=fbad68b)..b414875 100644

If it's in a code block (either indented by at least 4 spaces or 1 tab), maybe the detection of commits and conversion to links should be skipped. If that wouldn't be desirable, maybe if a sha is in the form "index <sha>.." it should be skipped.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Tuesday, 21 April 2020, 16:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 5.0.0.

Loading...