mbof / hxsync

MIT License
4 stars 0 forks source link

Sharing: parentheses and escaping don't work well together #48

Closed mbof closed 3 months ago

mbof commented 3 months ago

Repro steps:

  1. Share a link to a config that contains parentheses, e.g. http://localhost:4200/hx/#/share#(abc)
  2. Link gets modified in transport, becomes http://localhost:4200/hx/#/share%23(abc) (at least Gmail does this)
  3. Load this link

Observed:

Expected:

Note: skipping step 2 does not reproduce the issue.

mbof commented 3 months ago

The more I look at this, the less convinced I am that a single router can be used for this without running into headaches. A separate HTML page to act as share recipient page may be necessary.