Gelbooru

Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #509


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000509Bug ReportingLowsometimes05/07/11 01:42AMlozertuser
Reporterraki
Assigned to:geltas
Resolution:Open
View StatusPublic
Version:0.2.5
Target Version:N/A
Summary:Tag Edit Area have some bugs!
Description:If we type char:tag:foo it will output the 'tag:foo' tag with the type is 'character'!
I decided we should use switch() {case:...default:...} method and parse out the params and then the tag_name to decide what is suitable to output!
There are three solutions for this:
1: Parse out x and y from x:y:z:...
(I'm using this method in my imageboard's source)
2: Parse out x and z from x:...:...:z
(This method this not difficult but I'm fucking hate arrays)
3: Parse out suitable par:tag pair from a:b:c:d:...:z
(Fucking hard! You need a reserved array containing params and the preg_match it!
I cannot do this until I've asked my damn brother in Sing!)
Hope this help!
Additional Info:The patching is not necessary! This just help us prevent some stupid users from spoiling our tag database and make the site creepy!
Because of this unnecessary function, I've chosen Method #1 for my board!
The one thing I want to say is: There are a lot of idiots in the world!
lozertuser replied at 2011-05-08 17:13:55
Why are you doing char:tag:foo? It should be char:foo, tag:foo, or artist:foo.