Bug 422856

Summary: Fails to open PDFs when name contains hash ('#')
Product: [Applications] okular Reporter: Hell Borne <withholdpurposefully>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, christoph, kde-windows, ostroffjh, skz169
Priority: NOR    
Version: 1.9.2   
Target Milestone: ---   
Platform: unspecified   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hell Borne 2020-06-12 09:15:37 UTC
SUMMARY
Fails to open PDFs when name contains hash ('#')

STEPS TO REPRODUCE
1. Add # symbol in name (e.g. position does not matter, at start or at end)
2. Open document

OBSERVED RESULT
1. Throws error, 'could not open...', OR
2. If directory has other documents then opens random one

EXPECTED RESULT
File should open normally, tested with Adobe Acrobat PDF reader

SOFTWARE/OS VERSIONS
Windows: Windows 10
Did not test on other platforms
Comment 1 Yuri Chornoivan 2020-06-25 17:45:25 UTC
*** Bug 423490 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Cullmann 2020-06-26 18:15:01 UTC
Hmm, no direct idea why this fails :/
Comment 3 Jack 2020-06-26 20:27:37 UTC
Just tested on (Gentoo) Linux, okular 1.9.3 (I see 1.10 is out) and it works fine.  I also tested 1.9.2 (latest available in the Windows Store) in a Wind 10 guest in VirtualBox, and it also works fine whether # is at the beginning or in the middle of the file name.  What version of Windows are you on?
Comment 4 Laura David Hurka 2020-06-26 21:10:07 UTC

*** This bug has been marked as a duplicate of bug 418758 ***