Bug 474038

Summary: Freeze on fetching online quote from fx-rate.net with ad blocker enabled
Product: [Frameworks and Libraries] libalkimia Reporter: Ralf Habacker <ralf.habacker>
Component: GeneralAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 8.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 8.1.2

Description Ralf Habacker 2023-09-01 22:22:33 UTC
SUMMARY
I found a case where an advertisement blocker like pi-hole results into a freeze on fetching an online source.  


STEPS TO REPRODUCE
1. install pi-hole with default settings
2. in the alkimia5 profile add a a source for fx-rate.net and name it test.webkit
3. run alkonlinequote test 

OBSERVED RESULT
The test will not finish

EXPECTED RESULT
The test should finish after a timeout

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE 15.4
KDE Frameworks Version: 5.90
Qt Version: 5.15
Comment 1 Ralf Habacker 2023-09-01 22:27:20 UTC
Git commit 93160403e4410a70b4fedc762acf7f77db6d6abb by Ralf Habacker.
Committed on 02/09/2023 at 00:27.
Pushed by habacker into branch '8.1'.

Fix freeze on accessing fx-rate.net when using webkit
FIXED-IN:8.1.2

M  +4    -1    src/alkonlinequote.cpp

https://invent.kde.org/office/alkimia/-/commit/93160403e4410a70b4fedc762acf7f77db6d6abb