httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yehuda Katz <yeh...@ymkatz.net>
Subject Re: [users@httpd] why Apache strip html data attribute ???
Date Sun, 08 Feb 2015 17:38:52 GMT
HTML 4.01 and XHTML 1.0 don't support the data- attributes since they were
added in HTML5, so striping them out is the correct behavior.
If that is not what you want it to do, don't set that directive.

- Y

On Sun, Feb 8, 2015 at 12:15 PM, A. Lotfi <majidnakit@yahoo.com.invalid>
wrote:

> Hi,
>
> I am not an Apache expert, I am just a java and html developer,  I wrote
> lot of code using html data attributes, but I was surprised that Apache
> swallow are strip them, I went to this page :
>
>
> mod_proxy_html - Apache HTTP Server Version 2.4
> <http://httpd.apache.org/docs/current/mod/mod_proxy_html.html>
>
>
> [image: image]
> <http://httpd.apache.org/docs/current/mod/mod_proxy_html.html>
>
>
>
>
>
> mod_proxy_html - Apache HTTP Server Version 2.4
> <http://httpd.apache.org/docs/current/mod/mod_proxy_html.html>
> Apache Module mod_proxy_html Available Languages:  en  |  fr  Description:
> Rewrite HTML links in to ensure they are addressable from Clients' networks
> in a proxy ...
> View on httpd.apache.org
> <http://httpd.apache.org/docs/current/mod/mod_proxy_html.html>
> Preview by Yahoo
>
>
> somewhere it said :
>
> If the first form is used, mod_proxy_html will also clean up the HTML to
> the specified standard. It cannot fix every error, but it will strip out
> bogus elements and attributes.
>
>
>
> please help me.
> thanks.
>
> Abdel
>
> The nature of promises is that they remain immune to changing
> circumstances.
> Frank Underwood, ‘House of Cards’
>

Mime
View raw message