Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Todos los strings ingresados en formularios deberían ser trimmed #299

Closed
EfrainReyes opened this issue Mar 6, 2016 · 0 comments
Closed

Comments

@EfrainReyes
Copy link
Member

Ahora mismo puedo publicar un empleo y ponerle mucho whitespace tanto antes como después a cualquier campo

              web designer                   

y se guarda como tal en la base de datos.

Esto puede ser fácilmente trimmed con un custom model binder, para que ocurra siempre que se ejecute un action en MVC.

http://stackoverflow.com/a/1734025/2563028

@EfrainReyes EfrainReyes changed the title Todos los strings deberían ser trimmed en la aplicación Todos los strings ingresados en formularios deberían ser trimmed Mar 6, 2016
EfrainReyes added a commit to EfrainReyes/empleo-dot-net that referenced this issue Mar 6, 2016
EfrainReyes added a commit to EfrainReyes/empleo-dot-net that referenced this issue Mar 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants