webaverse / app

Web metaverse client
https://app.webaverse.com
MIT License
344 stars 207 forks source link

app: Classroom.scn errors #2437

Closed alisaad673 closed 2 years ago

alisaad673 commented 2 years ago

These errors appear when shifting to classroom.scn 8

avaer commented 2 years ago

Looks like the HTML totum handler does not parse.

avaer commented 2 years ago

The proxy route is serving back the app: https://local.webaverse.com/@proxy/https://https-vrchat-com.proxy.webaverse.com/

It should be serving the proxied content. This is a totum feature.

avaer commented 2 years ago

Possible fix attack vector:

https://github.com/webaverse/totum/blob/da65086a54e5c3798aa8ae955463977726d2f39b/util.js#L34

avaer commented 2 years ago

This should be going through the proxy to load the VRChat home page:

image

Instead, it errors.

metaversefile-api.js?t=1659763895440:435 error loading "/@proxy/https://https-vrchat-com.proxy.webaverse.com/" SyntaxError: Unexpected token ':'
alisaad673 commented 2 years ago

Fixed