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

[2.3.4] Templates action-Attribut bei form-Tags #1672

Closed
Mynyx opened this issue Jul 6, 2016 · 6 comments
Closed

[2.3.4] Templates action-Attribut bei form-Tags #1672

Mynyx opened this issue Jul 6, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@Mynyx
Copy link

Mynyx commented Jul 6, 2016

Bei form-Tags darf entsprechend der W3C-Standards kein leeres action-Attribut angegeben werden (dies ist derzeit der Fall wenn ein Formular auf die Startseite verweist).

The action and formaction content attributes, if specified, must have a value that is a valid non-empty URL potentially surrounded by spaces.
https://www.w3.org/TR/html5/forms.html#attr-fs-action

@aschempp
Copy link
Member

Was meinst du mit form-Tags?

@Mynyx
Copy link
Author

Mynyx commented Jul 15, 2016

Formulare in Templates also <form action=""><input ...></form>

@Toflar
Copy link
Member

Toflar commented Jul 18, 2016

@aschempp Evtl. einfach getAbsoluteUrl() verwenden und min. Version von Contao erhöhen?

@Mynyx
Copy link
Author

Mynyx commented Jul 18, 2016

Und wenn man einfach einen / voranstellt?

@aschempp aschempp added the bug label Aug 4, 2016
@aschempp aschempp added this to the 2.4.0 milestone Aug 4, 2016
@aschempp
Copy link
Member

aschempp commented Aug 9, 2016

@qzminski problem is that the action attribute of <form> element is empty on the homepage, I guess if a product list is placed on the home page.

@aschempp
Copy link
Member

aschempp commented Aug 9, 2016

Fixed in #1688

@aschempp aschempp closed this as completed Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants