Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix favicon paths by removing root prefixes #104

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

JanCVanB
Copy link
Collaborator

No description provided.

@totaam totaam merged commit 2a00ecf into Xpra-org:master Oct 19, 2021
@totaam
Copy link
Collaborator

totaam commented Oct 20, 2021

This broke something:

json_action( http://localhost:10000favicon.png?echo-headers ,  ƒ (xhr, response) {
		const headers = Utilities.ParseResponseHeaders(xhr.getAllResponseHeaders());
		Utilities.debug("headers:", headers);
		let lang = headers["Echo-Accept-Language"];
		//ie: lang = "… ,  undefined )
Utilities.js:630 Uncaught DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
    at Object.json_action (http://localhost:10000/js/Utilities.js:630:10)
    at json_action (http://localhost:10000/connect.html:695:13)
    at fill_form (http://localhost:10000/connect.html:1063:2)
    at XMLHttpRequest.xhr.onload (http://localhost:10000/connect.html:1200:3)

totaam added a commit that referenced this pull request Oct 20, 2021
this chunk broke the connect page
@JanCVanB
Copy link
Collaborator Author

Sorry about that! Thanks for fixing it, and hopefully #107 helps prevent similar mistakes in the future.

@JanCVanB JanCVanB deleted the fix-favicon-paths branch October 20, 2021 19:12
JanCVanB pushed a commit to selkies-project/xpra-html5 that referenced this pull request Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants