Closed hdk5 closed 1 year ago
e.g. 千恋*万花
* escape was introduced in https://github.com/evazion/translate-pixiv-tags/commit/122697ff384e732f4e589710c0b9a1bdde77ee8c, when the search was made using other_names_match param After https://github.com/evazion/translate-pixiv-tags/commit/6fff4556d7cceeb881b55b40f632b04822593db6, the search is performed with other_names_include_any_lower_array, which doesn't treat * as wildcard and takes it as is - see https://github.com/danbooru/danbooru/blob/91178f37990dbac65766c905d8717d93ea1df731/app/models/wiki_page.rb#L49
*
other_names_match
other_names_include_any_lower_array
e.g. 千恋*万花
*
escape was introduced in https://github.com/evazion/translate-pixiv-tags/commit/122697ff384e732f4e589710c0b9a1bdde77ee8c, when the search was made usingother_names_match
param After https://github.com/evazion/translate-pixiv-tags/commit/6fff4556d7cceeb881b55b40f632b04822593db6, the search is performed withother_names_include_any_lower_array
, which doesn't treat*
as wildcard and takes it as is - see https://github.com/danbooru/danbooru/blob/91178f37990dbac65766c905d8717d93ea1df731/app/models/wiki_page.rb#L49