Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /tmp/tsx-1023/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //tmp/tsx-1023/17180-8f3ca6c95627223b9dd4135c1f251db070ea68ad
{"code":"(()=>{\nvar __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf;var __hasOwnProp=Object.prototype.hasOwnProperty;var __name=(target,value)=>__defProp(target,\"name\",{value,configurable:true});var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,\"default\",{value:mod,enumerable:true}):target,mod));var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var fetch_request_uri_exports={};__export(fetch_request_uri_exports,{default:()=>fetchRequestUri});module.exports=__toCommonJS(fetch_request_uri_exports);var import_errors=require(\"../../helpers/errors.js\");var import_weak_cache=__toESM(require(\"../../helpers/weak_cache.js\"));var import_consts=require(\"../../consts/index.js\");var import_load_pushed_authorization_request=__toESM(require(\"./load_pushed_authorization_request.js\"));var import_reject_request_and_uri=__toESM(require(\"./reject_request_and_uri.js\"));const allowedSchemes=new Set([\"http:\",\"https:\",\"urn:\"]);async function fetchRequestUri(ctx,next){const{pushedAuthorizationRequests,requestObjects}=(0,import_weak_cache.default)(ctx.oidc.provider).configuration(\"features\");const{params}=ctx.oidc;(0,import_reject_request_and_uri.default)(ctx,()=>{});if(params.request_uri!==void 0){let protocol;try{({protocol}=new URL(params.request_uri));if(!allowedSchemes.has(protocol))throw new Error}catch(err){throw new import_errors.InvalidRequestUri(\"invalid request_uri scheme\")}let loadedRequestObject=ctx.oidc.entities.PushedAuthorizationRequest;if(!loadedRequestObject&&pushedAuthorizationRequests.enabled&&params.request_uri.startsWith(import_consts.PUSHED_REQUEST_URN)){loadedRequestObject=await(0,import_load_pushed_authorization_request.default)(ctx)}else if(!loadedRequestObject&&!requestObjects.requestUri){throw new import_errors.RequestUriNotSupported}else if(!loadedRequestObject&&ctx.oidc.client.requestUris){if(!ctx.oidc.client.requestUriAllowed(params.request_uri)){throw new import_errors.InvalidRequestUri(\"provided request_uri is not allowed\")}}if(protocol===\"http:\"){ctx.oidc.insecureRequestUri=true}try{if(loadedRequestObject){params.request=loadedRequestObject.request}else{const cache=(0,import_weak_cache.default)(ctx.oidc.provider).requestUriCache;params.request=await cache.resolve(params.request_uri)}if(!params.request)throw new Error;params.request_uri=void 0}catch(err){throw new import_errors.InvalidRequestUri(\"could not load or parse request_uri\",err.message)}}return next()}__name(fetchRequestUri,\"fetchRequestUri\");\n})()\n","warnings":[],"map":{"version":3,"mappings":";i/BAAA,4KAA0D,mCAC1D,sBAAqB,gDACrB,kBAAmC,iCAEnC,6CAA2C,2DAC3C,kCAAgC,gDAEhC,MAAM,eAAiB,IAAI,IAAI,CAAC,QAAS,SAAU,MAAM,CAAC,EAW1D,eAAO,gBAAuC,IAAK,KAAM,CACvD,KAAM,CAAE,4BAA6B,cAAe,KAAI,kBAAAA,SAAS,IAAI,KAAK,QAAQ,EAAE,cAAc,UAAU,EAC5G,KAAM,CAAE,MAAO,EAAI,IAAI,QAEvB,8BAAAC,SAAoB,IAAK,IAAM,CAAC,CAAC,EAEjC,GAAI,OAAO,cAAgB,OAAW,CACpC,IAAI,SACJ,GAAI,EACD,CAAE,QAAS,EAAI,IAAI,IAAI,OAAO,WAAW,GAC1C,GAAI,CAAC,eAAe,IAAI,QAAQ,EAAG,MAAM,IAAI,KAC/C,OAAS,IAAK,CACZ,MAAM,IAAI,gCAAkB,4BAA4B,CAC1D,CAEA,IAAI,oBAAsB,IAAI,KAAK,SAAS,2BAC5C,GACE,CAAC,qBACE,4BAA4B,SAC5B,OAAO,YAAY,WAAW,gCAAkB,EACnD,CACA,oBAAsB,QAAM,yCAAAC,SAA+B,GAAG,CAChE,SAAW,CAAC,qBAAuB,CAAC,eAAe,WAAY,CAC7D,MAAM,IAAI,oCACZ,SAAW,CAAC,qBAAuB,IAAI,KAAK,OAAO,YAAa,CAC9D,GAAI,CAAC,IAAI,KAAK,OAAO,kBAAkB,OAAO,WAAW,EAAG,CAC1D,MAAM,IAAI,gCAAkB,qCAAqC,CACnE,CACF,CAEA,GAAI,WAAa,QAAS,CACxB,IAAI,KAAK,mBAAqB,IAChC,CAEA,GAAI,CACF,GAAI,oBAAqB,CACvB,OAAO,QAAU,oBAAoB,OACvC,KAAO,CACL,MAAM,SAAQ,kBAAAF,SAAS,IAAI,KAAK,QAAQ,EAAE,gBAC1C,OAAO,QAAU,MAAM,MAAM,QAAQ,OAAO,WAAW,CACzD,CACA,GAAI,CAAC,OAAO,QAAS,MAAM,IAAI,MAC/B,OAAO,YAAc,MACvB,OAAS,IAAK,CACZ,MAAM,IAAI,gCAAkB,sCAAuC,IAAI,OAAO,CAChF,CACF,CAEA,OAAO,KAAK,CACd,CAjD8B","names":["instance","rejectRequestAndUri","loadPushedAuthorizationRequest"],"ignoreList":[],"sources":["/home/etherpad/node_modules/.pnpm/oidc-provider@8.4.6/node_modules/oidc-provider/lib/actions/authorization/fetch_request_uri.js"],"sourcesContent":[null]}}

SAMX