Skip to content

Support for cookies #758

@fireneat

Description

@fireneat

Please include cookie support. I am requesting this feature because one of my ICS calendars either requires cookies or responds with a 403 error. Here is the application's stack-trace:

HTTP 403 

java.io.IOException: HTTP 403 
	at at.bitfire.icsdroid.CalendarFetcher.fetchNetwork$icsx5_91_2_4_2_standardRelease(SourceFile:181)
	at at.bitfire.icsdroid.CalendarFetcher$fetchNetwork$1.invokeSuspend(Unknown Source:11)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:34)
	at kotlinx.coroutines.DispatchedTask.run(SourceFile:100)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(SourceFile:124)
	at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:89)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(SourceFile:586)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(SourceFile:820)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(SourceFile:717)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:704)

The following (censored, token removed) URL returns a 403 with the explanation "No cookies enabled" (can be seen with curl): https://ub-wuppertal.digibib.net/intro/ical/token, which 307 redirects to https://ub-wuppertal.digibib.net/intro/ical/token?require-cookie=true, which then responds with a 403 containing "This website requires the use of technical cookies, but no session cookie could be created in your browser." (translated from German).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions