Downloading font file on first login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2015 11:16 AM
There is a style sheet that links the attached font by its attachment id. When logging in using chrome, the browser downloads the bolded line in the CSS below. This happens on the first login. This CSS is called within a custom portal, but the issue happens only within the standard native admin login not using a servicenow portal.
Thanks in advance...
@font-face{
font-family:"AvenirNextLTW01-Regular";
src: url('/sys_attachment.do?sys_id=c0176a464f110200195c2b8ca310c724'); /* IE9 Compat Modes */
src: url('/sys_attachment.do?sys_id=c0176a464f110200195c2b8ca310c724#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/sys_attachment.do?sys_id=23076a464f110200195c2b8ca310c721') format('woff'), /* Modern Browsers */
url('/sys_attachment.do?sys_id=ab076a464f110200195c2b8ca310c721') format('truetype'), /* Safari, Android, iOS */
url('/sys_attachment.do?sys_id=27076a464f110200195c2b8ca310c722#52a192b1-bea5-4b48-879f-107f009b666f') format('svg'); /* Legacy iOS */
}
@font-face{
font-family:"AvenirNextLTW01-Medium";
src: url('/sys_attachment.do?sys_id=a7076a464f110200195c2b8ca310c720'); /* IE9 Compat Modes */
src: url('/sys_attachment.do?sys_id=a7076a464f110200195c2b8ca310c720#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/sys_attachment.do?sys_id=0c176a464f110200195c2b8ca310c724') format('woff'), /* Modern Browsers */
url('/sys_attachment.do?sys_id=bf076a464f110200195c2b8ca310c722') format('truetype'), /* Safari, Android, iOS */
url('/sys_attachment.do?sys_id=7b076a464f110200195c2b8ca310c723#a89d6ad1-a04f-4a8f-b140-e55478dbea80') format('svg'); /* Legacy iOS */
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2015 05:20 PM
Hi Isaac,
What is your expected behavior? Should Chrome download all of the fonts? None of the fonts? Are you asking why the CSS file is served on that login page?
I'm not sure what the actual issue is here. If you can explain what you expect to happen when Chrome visits that page, and how what is actually happening differs, we may be able to help figure out why it does so, and if there is anything that can be done to resolve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2015 04:59 AM
Hey Cory,
It downloads the "font file" directly to the clients default download folder. Once logged in, the download file bar within the bottom of chrome pops up and downloads the ttf file of the font. This is too weird to believe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2016 03:04 PM
I'm having the same issue on Helsinki for a client.
The user attempts to login via a service portal, and the font file itself it automatically downloaded to the user's computer. The user could even have the font file installed on their PC, and it will always initiate a file download. This also prevents the initial login and redirects the user to the OOB snow panes, with the portal loaded in the large pane
The use case is the user SHOULD log into the service portal login page, and immediately be redirected to the service portal without a forced font file download to the user's computer.
I do have ACLs in place to allow any user regardless of role to access the font file. The files are attachments to the CSS file.
What was the solution? I've temporarily removed the CSS file, as I've fallback fonts selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2017 07:15 PM
Hello All,
Did we find any solution for this auto download of file?
Also Meia for "This also prevents the initial login and redirects the user to the OOB snow panes, with the portal loaded in the large pane"
can you check if you have below system properties which are used in SpEntryPage script include:
* PROPERTY VALUE
* glide.entry.page.script new SPEntryPage().getLoginURL();
* glide.entry.first.page.script new SPEntryPage().getFirstPageURL();
we enabled/modified these properties but now we see another issue i.e.
when we try to login to the native ui(https://abc.service-now.com/) it always points us to https://abc.service-now.com/sp/?id=landing
Also when we logout from native ui, it navigates to https://abc.service-now.com/sp/?id=landing instead of https://abc.service-now.com/navpage.do
how to overcome this behavior?
Thanks.