lsp/fscache: correct path components
[OverlayFS.pathComponents] was faulty: it was directly casting a
DocumentURI to a string, and then decomposing the string (splitting on
/). This faulty because DocumentURI is URI encoded, so spaces will
appear as %20, and these would continue to exist in the split strings.
Issue #4255
Signed-off-by: Matthew Sackman <matthew@cue.works>
Change-Id: If77b46d4f0a48b8efdec49b764741cb7091f69ed
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1230705
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>