Giter VIP home page Giter VIP logo

Comments (5)

lilsgit avatar lilsgit commented on May 30, 2024

Just found out what the issue is....

Somehow in the cloud run version the textArea does not like any special characters like *, \

from gradio.

freddyaboulton avatar freddyaboulton commented on May 30, 2024

Maybe it's blocking post requests with those characters out of fear of a sql injection attack? Maybe there is a way to disable that in cloud run.

from gradio.

freddyaboulton avatar freddyaboulton commented on May 30, 2024

In any event, this doesn't seem like a problem with gradio so I think we can close.

from gradio.

lilsgit avatar lilsgit commented on May 30, 2024

Thanks Freddy I am investigating the sql injection rules we have, seems like this.

I would say though the debugging process is very very painful (took me 3 days to get here :( ) because the error message from Gradio is too generic and there is no logs to go about, if there is any chance to improve that it would be great.

Thanks!

from gradio.

freddyaboulton avatar freddyaboulton commented on May 30, 2024

I think error reporting can be improved across the board but not sure if it would help in this case because if our hunch is right, cloud run is blocking the request in between the client and the server so not sure if there is away for gradio to know that.

Will close but thank you for filing and the feedback @lilsgit !

from gradio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.