Re: [EXTERNAL] Re: [EZPROXY-L] iFrost error - "No Access-Control-Allow-Origin" header is present
"Wong, Elizabeth [MV]" <[email protected]>
| Newsgroups | gmane.education.ezproxy |
|---|---|
| Message-ID | <DM6PR05MB565946DAAC787D0722114C99C8B70@DM6PR05MB5659.namprd05.prod.outlook.com> |
For anyone interested, here is our stanza update that fixed the CORS error: Title Frost & Sullivan (updated 20190328) URL http://www.frost.com HJ https://cds.frost.com HJ cds.frost.com HJ https://ifrost.frost.com HJ www.frost.com DJ frost.com Find var current_url = "https:\/\/ifrost.frost.com\/Amt"; Replace var current_url = "https:\/\/^Sifrost.frost.com^\/Amt"; Find e.href = "http:"+e.href.substr(6) Replace e.href = "http://^pwww.frost.com^/"; + e.pathname + e.search This message has been marked as Medtronic Controlled From: EZproxy List <[email protected]> On Behalf Of Robert Sebek Sent: Friday, September 06, 2019 2:01 PM To: [email protected] Subject: [EXTERNAL] Re: [EZPROXY-L] iFrost error - "No Access-Control-Allow-Origin" header is present CORS is Cross Origin Resource Sharing, and it comes in play here because a script is trying to do something on a page that originates at a different origin (your proxy server) than what it is expecting (the vendor's server). If you proxy the source of the script, then it will be from the same origin and that usually fixes this error. In his case I would add HJ https://ifrost.frost.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__ifrost.frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=ck_IujY-0jynngLQ7vro98t8zXZBBl-1rE-naWqAF_A&e=> and MimeFilter application/json .* javascript to this stanza. On Thu, Sep 5, 2019 at 10:20 AM Emilie Liard <[email protected]<mailto:[email protected]>> wrote: Hi, Did it work? I'm no expert but we've had to troubleshoot this kind of issue several times on various resources, and an AnonymousURL or NeverProxy line usually solves it. Though I'd be very grateful if someone could explain what either actually does! ;) So I'd try adding : AnonymousURL +https://ifrost.frost.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__ifrost.frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=ck_IujY-0jynngLQ7vro98t8zXZBBl-1rE-naWqAF_A&e=>/* before the title and AnonymousURL -* at the end of the stanza. Good luck! [cid:[email protected]] Emilie Liard Gestion centralisée des abonnements Signalement et informatique documentaire [univ-rennes1]<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.univ-2Drennes1.fr_&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=tj7zeyJPD_b-VIAtnYgxiV7mindfGW9ig2bwV53iams&e=> [cid:[email protected]] Service commun de la documentation (SCD) 18 av. Charles Foulon 35000 Rennes bibliotheques.univ-rennes1.fr<https://urldefense.proofpoint.com/v2/url?u=http-3A__bibliotheques.univ-2Drennes1.fr&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=R3tvf6j963P5_a2VpkiTtAcTfFBecGyhqG2x0aI-rOE&e=> [cid:[email protected]]+33 (0)2 23 23 70 47 [cid:[email protected]]<https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_UnivRennes1&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=81xeTEacqMp69cH3Xu0UEIPqsnowFpK2TTuk3RTuv9o&e=>[cid:[email protected]]<https://urldefense.proofpoint.com/v2/url?u=https-3A__fr-2Dfr.facebook.com_UnivRennes1&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=Pj8HyQLpEjCMExB5zdZa9hdxfoii9yth6-Jq8SpsTIg&e=> www.univ-rennes1.fr <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.univ-2Drennes1.fr&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=tW6jltvygpGQUbKuRvyG_SD-lmuOdsWHEPObKRU5uz8&e=> Le 05/09/2019 à 15:42, Wong, Elizabeth [MV] a écrit : Hi, Do you have any recommendations for troubleshooting a console error related to “Access-Control-Allow-Origin header?: [cid:[email protected]] We’ve added a custom HJ line for iFrost to the standard Frost & Sullivan stanza: Title Frost & Sullivan (updated 20190328) URL http://www.frost.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=q6CGh9lYUO8yIIsOsBIWr1Lk2llwHZkZBCbX5rOkrkQ&e=> HJ https://cds.frost.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__cds.frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=V3B7hJR3NPddToERelsJxVFHGwqdPTpx_KyiDuD1cVQ&e=> HJ cds.frost.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__cds.frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=xga7HZuouBGVoc6FlU7wHZwYAXVn2LkmQGoqLGw33bg&e=> HJ ifrost.frost.com:443<https://urldefense.proofpoint.com/v2/url?u=http-3A__ifrost.frost.com-3A443&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=kRWt0pgiNVvE8IV70MUjx1RwdusGwb5d8Lc1Qg7mB-E&e=> Host www.frost.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=q6CGh9lYUO8yIIsOsBIWr1Lk2llwHZkZBCbX5rOkrkQ&e=> DJ frost.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=w4JEL8sHCvWloFeuYHIzgy_bdsZWfP2jtRzANYRBRkI&e=> Find e.href = "http:"+e.href.substr(6) Replace e.href = "http://^pwww.frost.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__pwww.frost.com&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=tJ4ktvAAI1zXDxzCSxuaAWJXF3Qq0J4U-x1YjZBHSgo&e=>^/"; + e.pathname + e.search -- Robert Sebek Discovery Services, University Libraries (http://www.lib.vt.edu/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lib.vt.edu_&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=TjAsGkuo6R4Tv8uwh8OKOHXo4Pn1A8ImrFa0g4Rx8gY&e=>) ________________________________ To unsubscribe from the EZPROXY-L list, click the following link: http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1<https://urldefense.proofpoint.com/v2/url?u=http-3A__listserv.oclclists.org_scripts_wa.exe-3FSUBED1-3DEZPROXY-2DL-26A-3D1&d=DwMFaQ&c=rKcR87XD2bn3vfHr9ZGyMg&r=jy71XgVXfafVRNFviKM1IkSDhII1fbTU4ny6RzK6z1c&m=3kTvbZCGUY305FQMYKCW2qW7gVOr7zBUB8Ky9Ryh_TM&s=AN6pFvvXWTXyGa7sv0RYKWzoFcsDz_yYYViYgZPSpsE&e=> [CONFIDENTIALITY AND PRIVACY NOTICE] Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which it is addressed, and may contain information that is private, privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please delete this mail from your records. To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com ******************************************************************** If you wish to stop receiving messages from EZPROXY-L or otherwise amend your preferences, you can do so <a href="https://www.oclc.org/forms/internet-subscription.en.html">here</a>. Or email [email protected] including the relevant text below in the body of the email: • To unsubscribe: "unsubscribe EZPROXY-L" • To receive EZPROXY-L in digest form: "set EZPROXY-L digest" • To set your options to no mail: "set EZPROXY-L nomail" • To receive these messages in the future "set EZPROXY-L mail" To contact the list owners directly please send your message to [email protected]. If you unsubscribe from EZPROXY-L, you will no longer be able to participate in any of its features, including the public forum. To unsubscribe from all OCLC marketing email communications (including all OCLC listervs, OCLC Connect emails, OCLC event notifications, product/service/cooperative updates and newsletters), please email us at [email protected].
image001.jpg
(image/jpeg, 1.6 KB) - not displayed
image002.png
(image/png, 5.4 KB) - not displayed
image003.jpg
(image/jpeg, 803 B) - not displayed
image004.jpg
(image/jpeg, 916 B) - not displayed
image005.png
(image/png, 1.3 KB) - not displayed
image006.png
(image/png, 1.1 KB) - not displayed
image008.jpg
(image/jpeg, 39.8 KB) - not displayed