https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12904

--- Comment #81 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
(In reply to Katrin Fischer from comment #78)
> 
> >For non-package installations, the following rewrite rules will need to be 
> >>added to the apache config file:
> >RewriteRule ^(.*)_(.*).js$ $1.js [R=301,N,L]
> >RewriteRule ^(.*)_(.*).css$ $1.css [R=301,N,L]
> 
> Wonder if this might not get lost - would there be a way to automate it?
> What happens if you don't?

We will have to highlight that in the release notes.
People will quickly now that something is wrong if all JS and CSS files return
404

(In reply to Fridolin SOMERS from comment #79)
> > RewriteRule ^(.*)_(.*).js$ $1.js [R=301,N,L]
> This rewrite rules are quite large, what about files that already contain an
> underscore ?
> I think we should use a more explicit separator like "_kohav" with rewrite :
> RewriteRule ^(.*)_kohav(.*).js.
> 
> > +<script type="text/javascript" src="[% interface %]/[% theme 
> > %]/js/datatables_[% KOHA_VERSION %].js"></script>
> The syspref "Version" contains a dot (ie 16.1200037) meaning that files will
> have 2 dots, ie : 
> ../datatables_16.1200037.js
> This may be a problem for some web-browsers like IE ?

I am going to push these patches soon. Developers will have time to catch the
issues before 18.05.


If someone disagrees with these patches, tell us why.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to