[Spacewalk-list] SP 2.3: Update user details issue

Lichtinger, Bernhard Bernhard.Lichtinger at lrz.de
Tue May 19 16:49:07 UTC 2015


Hi Grant,

Good news!
> 
>> Yeah, I recall fixing a few JSPs that had the tag in two places - clearly, I didn't find them all. It's not harmful, just...untidy.
>> 
>> If you keep poking at this, let me know what you find; I'll do the same. 
> 
> I will do some more poking next week.

I had a closer look in my access-logs and there I got i big hint:

Safari:
MAC-IP - - [19/May/2015:17:39:21 +0200] "GET /rhn/groups/ListRemoveSystems.do?sgid=37 HTTP/1.1" 200 112035
MAC-IP - - [19/May/2015:17:39:41 +0200] "POST /rhn/groups/ListRemoveSystems.do?sgid=37 HTTP/1.1" 200 120445

==> everything OK.

Safari with developer tools active:
MAC-IP - - [19/May/2015:17:43:08 +0200] "GET /rhn/groups/ListRemoveSystems.do?sgid=37 HTTP/1.1" 200 112032
MAC-IP - - [19/May/2015:17:43:09 +0200] "GET /javascript/jquery-1.10.2.min.map HTTP/1.1" 200 7821
MAC-IP - - [19/May/2015:17:43:19 +0200] "POST /rhn/groups/ListRemoveSystems.do?sgid=37 HTTP/1.1" 403 1084

==> wrong csrf_token, because "/javascript/jquery-1.10.2.min.map“ is not found and I get the default „Page Not Found“ page instead, which generates a new csrf_token.

IE:
WINDOWS-IP - - [19/May/2015:17:40:54 +0200] "GET /rhn/groups/GroupDetail.do?sgid=37 HTTP/1.1" 200 9523
WINDOWS-IP - - [19/May/2015:17:40:54 +0200] "GET /components/font-awesome/fonts/fontawesome-webfont.eot? HTTP/1.1" 200 7822
WINDOWS-IP - - [19/May/2015:17:40:54 +0200] "GET /components/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0 HTTP/1.1" 200 7822
WINDOWS-IP - - [19/May/2015:17:40:55 +0200] "GET /components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0 HTTP/1.1" 200 7822
WINDOWS-IP - - [19/May/2015:17:41:10 +0200] "GET /rhn/groups/ListRemoveSystems.do?sgid=37 HTTP/1.1" 200 112035
WINDOWS-IP - - [19/May/2015:17:41:10 +0200] "GET /components/font-awesome/fonts/fontawesome-webfont.eot? HTTP/1.1" 200 7822
WINDOWS-IP - - [19/May/2015:17:41:11 +0200] "GET /components/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0 HTTP/1.1" 200 7821
WINDOWS-IP - - [19/May/2015:17:41:11 +0200] "GET /components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0 HTTP/1.1" 200 7818
WINDOWS-IP - - [19/May/2015:17:41:20 +0200] "POST /rhn/groups/ListRemoveSystems.do?sgid=37 HTTP/1.1" 403 1084

==> IE tries to load fonts in "/components/font-awesome/fonts/" but this is also an invalid path, it should be "/fonts/font-awesome/fonts/". Again the default „Page Not Found“ page is rendered, which generates a new csrf_token.

After changing the fontpaths in /var/www/html/css/spacewalk.css IE is also working again!

Here is the diff:
 diff spacewalk.css spacewalk.css.orig
2389,2390c2389,2390
<   src: url('../../fonts/glyphicons-halflings-regular.eot');
<   src: url('../../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
---
>   src: url('../../components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot');
>   src: url('../../components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../../components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff') format('woff'), url('../../components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../../components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
5849,5850c5849,5850
<   src: url('../../fonts/font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0');
<   src: url('../../fonts/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'), url('../../fonts/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'), url('../../fonts/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'), url('../../fonts/font-awesome/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
---
>   src: url('../../components/font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0');
>   src: url('../../components/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'), url('../../components/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'), url('../../components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'), url('../../components/font-awesome/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg‘);

I have spacewalk-branding-2.3.25-1.el6.noarch installed.


Regards,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5031 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150519/f0da94db/attachment.p7s>


More information about the Spacewalk-list mailing list