fromFilePath prepends absolute paths with //

9 views
Skip to first unread message

Joseph LUCAS

unread,
Aug 24, 2020, 11:03:49 AM8/24/20
to hakyll

Hi,

I discovered that

"toFilePath $ fromFilePath "/path""

returns

"///path"


It seems that their is an error in fromFilePath that prepends // before absolute paths.
This will cause subsequent match using fromRegex to fail.

Am I the only one to face this issue with absolute paths ?
Reply all
Reply to author
Forward
0 new messages