Coder Social home page Coder Social logo

grails-uploadr's People

Contributors

4np avatar burtbeckwith avatar dustindclark avatar f-istvan avatar tcrossland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grails-uploadr's Issues

Name attribute on div

On line 115 of UploadrTabLib.groovy:

out << "<div name=\"${name}\" class=\"${classname}\"></div>"

This ends up rendering a name attribute on a div which fails validation on HTML Tidy:

line 124 column 85 - Error: Attribute “name” not allowed on element “div” at this point.

If the concern is that more than one uploadr needs to exist on a page maybe this could be changed to a data-attribute?

Support multipart/form-data uploads

Uploadr uploads its file by sending the file data in the payload of a POST request to the upload controller on the server.

I am using it in a corporate environment with IBM Tivoli Access Manager/Webseal, which is a reverse proxy handling authentication between the users browser and the grails application server.

The proxy attempts to decode the payload, but beacuse it is binary data it fails with a 400 bad request error.

If there was an option to upload the file like a standard HTML file upload form with content type 'multipart/form-data' it would work.

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.