+Ruko2010 Posted October 12, 2017 Share Posted October 12, 2017 Hi, I recently discovered, that the link to the profile of another user is not working, if this user has a "+" in his name. This only effects the links, that reference the username. https://www.geocaching.com/seek/nearest.aspx?u= https://www.geocaching.com/profile/?u= For example, if you go to https://coord.info/GC7CR0T the username is "RasendeZwerge 1+2+3". When looking under "Find..." you have two links, "..other caches hidden or found by this user". They look like: https://www.geocaching.com/seek/nearest.aspx?u=RasendeZwerge%201%2B2%2B3 https://www.geocaching.com/seek/nearest.aspx?ul=RasendeZwerge%201%2B2%2B3 so, you can see, that the username is urlencoded. %20 = Space %2B = + Technically, this looks good, but I think the following process, that decodes the username is not working properly, because both links (and also the profile link mentioned above, on which my App relies ) are showing the search page with the error. That username does not exist in the system I hope this will get fixed soon . Quote Link to comment
+HHL Posted October 12, 2017 Share Posted October 12, 2017 Add the &-sign to this issue. :-( Quote Link to comment
+palmetto Posted October 12, 2017 Share Posted October 12, 2017 Other special characters do this as well. I reported this quite some time back, not going to hunt for when. I find it adorable that not only does it not work, but it takes you to Old Search, where any special character username will fail. New Search will handle those names. Quote Link to comment
+cerberus1 Posted October 12, 2017 Share Posted October 12, 2017 5 hours ago, palmetto said: Other special characters do this as well. I reported this quite some time back, not going to hunt for when. I find it adorable that not only does it not work, but it takes you to Old Search, where any special character username will fail. New Search will handle those names. Thanks for that, I'll give that a try (but not permanently...). A week or so ago I thought the site had a hacker when nothing matched with their profile (clicking on profile showed a completely different account). Same with "find another player" in "old" profile dashboard ...and reported them. Quote Link to comment
+Ruko2010 Posted October 13, 2017 Author Share Posted October 13, 2017 19 hours ago, palmetto said: New Search will handle those names. But how can I search for a username on the new search? Isn't that only a search for caches? Quote Link to comment
+palmetto Posted October 13, 2017 Share Posted October 13, 2017 3 hours ago, Ruko2010 said: But how can I search for a username on the new search? Isn't that only a search for caches? My response assumes you have the username. One of the search panes is Hidden by. That pane will suggest usernames as you start filling it in. I assume it's the same module as "find a player" Quote Link to comment
+Ruko2010 Posted October 13, 2017 Author Share Posted October 13, 2017 I think we are talking about different things. Yes I have the username, but I want to access the users profile and this is not working if the username has special chars in it. 1 Quote Link to comment
+palmetto Posted October 13, 2017 Share Posted October 13, 2017 (edited) Apologies, I did respond to something different than what you originally wrote of. To see the profile of a player with special characters in the username, go to any cache they own,( or a log of theirs on any cache )- using your example: go to https://coord.info/GC7CR0T go to the top, and click on the link of the cache owner's name there. that link uses the players guid, which will work. https://www.geocaching.com/profile/?guid=2afd21fe-f667-40e3-a079-d6be494b04ae Edited October 13, 2017 by palmetto Quote Link to comment
+NYPaddleCacher Posted October 13, 2017 Share Posted October 13, 2017 On 10/12/2017 at 3:25 AM, HHL said: Add the &-sign to this issue. :-( The & sign is %26 Quote Link to comment
+Ruko2010 Posted October 14, 2017 Author Share Posted October 14, 2017 21 hours ago, palmetto said: Apologies, I did respond to something different than what you originally wrote of. To see the profile of a player with special characters in the username, go to any cache they own,( or a log of theirs on any cache )- using your example: go to https://coord.info/GC7CR0T go to the top, and click on the link of the cache owner's name there. that link uses the players guid, which will work. https://www.geocaching.com/profile/?guid=2afd21fe-f667-40e3-a079-d6be494b04ae Sure, this "manual" way works, but I'm currently trying to fix a bug in a Tempermonkey Userscript for geocaching (GCLittle Helper, here is the Link if you are interested: https://github.com/2Abendsegler/GClh) and there I need a Link to the Users Profile whilst only knowing the username. Here is an example: For know, we are doing it with this link: https://www.geocaching.com/p/default.aspx?u=RasendeZwerge%201%2B2%2B3 for the username "RasendeZwerge 1+2+3", but as I mentioned before, the link is not working because of the "+" in the username. So we need a generic way to link to the profile if we only know the username. If it would be possible to generate the guid of the user out of his username, this would be great, but I don't know if the guid is a generated value or a id assigned by Groundspeak. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.