BBO Discussion Forums: Handviewer and esape codes - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Handviewer and esape codes

#1 User is offline   codger 

  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 2010-October-26

Posted Today, 06:20

I've been storing BBO matches (missing a personal scorecard...) since 2020. My club name includes an ampersand (&) and I'm careful when creating links to the XML VG files to encode characters (& = %26) and these have worked. Until recently; now some historical files fail to load. Curiously, those with names that include straight quotes, e.g. 'A' encoded to%27A%27 do load.

Has the recent work to Handviewer changed regular behaviour?

Example: https://www.bridgeba...g-Chelsea-E.xml
0

#2 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 22,086
  • Joined: 2004-August-21
  • Gender:Male

Posted Today, 09:56

I found the problem. In February I changed the code that parses query parameters to use the built-in URLSearchParams interface instead of an ad hoc parser on location.href. The old code method kept the %-coding, the new code decodes them, and this causes a problem when forwarding the URL to the code that downloads the file.

This should be fixed soon.

#3 User is offline   codger 

  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 2010-October-26

Posted Today, 10:56

View Postbarmar, on 2026-June-25, 09:56, said:

I found the problem. In February I changed the code that parses query parameters to use the built-in URLSearchParams interface instead of an ad hoc parser on location.href. The old code method kept the %-coding, the new code decodes them, and this causes a problem when forwarding the URL to the code that downloads the file.

This should be fixed soon.


Thanks for prompt diagnosis.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
1 members, 1 guests, 0 anonymous users

  1. pescetom