Hacker News new | past | comments | ask | show | jobs | submit | JojoYou's comments login

The white page should be fixed now. I am unsure about the quotes.

Maybe you are using https://search.jojoyou.org/pri version? This version uses only own index and I haven't added there support for quotes yet.

In https://search.jojoyou.org/ quotes should work. (But I haven't done any changes to it yet)


A much better experience, quotes appear to work. As for a page of white with search bar, I still get this with setting safe off, changing region appears to be fixed.


Uhhhh! I see it now. I will debug it today, this is a big issue. Sorry for poor user experience


It should be fixed now. Please tell me if you are still experiencing issues


Confirm that issue is sorted.


Hey, thank you for the feedback! I will look into it, I guess there is somewhere bug with the quotes as well as the white page.

Sorry for it, will get back to you when fixed.


If you are referring to https://codeberg.org/JojoYou/PriEco/src/branch/master/api/go... It is SQL call to check if google results for that query are cached, or if it needs to call Google API


I use Google API. Yes, I do cache Google results into a database. And build own index! (The index is independent of Google results)


Hey, thank you for the comment. What is wrong about it?


This is insecure code that is susceptible to SQL injection. Check out https://phptherightway.com/#databases and read the PDO section. It gives almost your exact code as an example of what not to do. Look at using PDO bound parameters. You never want to concat strings together to create sql. Especially with strings that come from untrusted sources.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: