When drilling down to a particular lens, a list of photos is shown
If the lens name contains a slash sign ("/"), clicking on the link results in an empty page
- Upload pictures done with a lens containing slash in the name - for example
Canon/EF 85mm f/1.8 USM
- Drill down to the lens (e.g.
Canon/EF 85mm f/1.8 USM)
- The last step will produce an empty page
Operating system and version: Windows 11, Firefox 97.0.1
PhotoStructure edition: PhotoStructure for Node v1.1.0
I was able to debug it a bit. It seems like an encoding issue - the lens name is resolved via API which returns the redirect URL -
/tag/Lens/Canon/EF%2085mm%20f/1.8%20USM?seed=5331" in my case. As you see the “slash” sign in the lens name is not encoded, which apparently makes the server later split the path by the “/” sign and misunderstand the path. I also assume, it is due to incorrect way the URL is encoded - instead of calling
encodeURI on the whole URL, each segment should be encoded with
encodeURIComponent, which would take care of the slash sign as well.
Unfortunately, the source code is not available so I was not able to create a pull request or even validate my assumptions.