Ticket #1093 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

[TiddlyWeb] Mselect plugin cannot handle separator character %2C

Reported by: jdlrobson Owned by: cdent
Priority: major Milestone:
Component: tiddlyweb Version:
Severity: low Keywords:
Cc:

Description

When a selector for mselect has been chosen as comma it doesn't - even if the character is uri encoded.

eg. bags/published_articles_en/tiddlers?mselect=text:%2C%20and

to find all tiddlers with text containing the string ", and" will fail.

Likewise the select plugin doesn't allow users to search for ";foo" and similar strings as ";" is the separator. bags/published_articles_en/tiddlers?select=text%2Bfoo

Am hoping there is a way to allow this...

Change History

Changed 3 years ago by FND

  • owner changed from Tiddlyweb to cdent
  • summary changed from Mselect plugin cannot handle separator character %2C to [TiddlyWeb] Mselect plugin cannot handle separator character %2C
  • component changed from core to tiddlyweb
  • milestone TiddlyWeb 1.0 beta deleted

Changed 3 years ago by cdent

When you report bugs like this, can you please be sure to include a traceback, if one is generated. Thanks.

Changed 3 years ago by cdent

%2B is + for ; you %3B, which should work in the straight up select case

Fixing mselect to do what you want is going to be more complicated that it may seem like it should be: there are multiple loops of url escaping going on. mselect is pretty much a hack in that way.

You _can_ modify mselect to work in your particular instance by in mselect.py changing MSELECT_SEPARATOR to some value that you think will work for you. It needs to be something you're not going to search for and none of & ; % (and probably a few other things).

Changed 3 years ago by cdent

  • status changed from new to closed
  • resolution set to invalid

Since there is a way to customize this to work for particular installations, closing for now: there's no good way to get it to work in all cases.

Note: See TracTickets for help on using tickets.