[Spacewalk-list] SP 2.3: Update user details issue
Grant Gainey
ggainey at redhat.com
Tue May 19 17:17:50 UTC 2015
----- Original Message -----
> 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.
...outstanding! That's a great piece of detective work!
Can you do me a favor, and open a BZ for this, with your investigation-results? That will get this onto the radar, and we won't lose track of what the problem is. Alternately, you could submit a PR to spacewalk.github with your changes.
Will try to get this applied soon. As much as I prefer Other Browsers, there's still a LOT of IE out there, and having people be broken is...rude.
Thanks again for all the digging,
G
--
Grant Gainey
Principal Software Engineer, Red Hat Satellite
More information about the Spacewalk-list
mailing list