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

bug-form_open_multipart #345

Closed
startbbs opened this issue Dec 30, 2016 · 4 comments
Closed

bug-form_open_multipart #345

startbbs opened this issue Dec 30, 2016 · 4 comments

Comments

@startbbs
Copy link

startbbs commented Dec 30, 2016

<?php echo form_open_multipart('user/login',['class'=>'form']);?>
when I use form_open_multipart, it would create the follow code
<form action="http://127.0.0.1/user/login" class="form" enctype="multipart&#x2F;form-data" method="post" accept-charset="utf-8">

please note the enctype, '/' was changed to &#x2F;

samsonasik added a commit to samsonasik/CodeIgniter4 that referenced this issue Jan 1, 2017
@samsonasik
Copy link
Member

I give a try to fix it at #351

@davidgv88
Copy link
Contributor

Hi @samsonasik

I Think that this is not a issue.

The form works and the file is upload succesfully.

All attributes are being escaped using escapeHtmlAttr function from Zend Escaper Library.

Please look this https://framework.zend.com/manual/2.1/en/modules/zend.escaper.escaping-html-attributes.html

@samsonasik
Copy link
Member

Ok, closing #351 ;)

@lonnieezell
Copy link
Member

Yup, even though it looks strange, it all works as expected in all of my tests.

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

4 participants