Skip to content
Snippets Groups Projects
Commit a3f35658 authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

Fix CLARIN Attribute Aggregator SP scrip

The [clarin-sp-aaggregator](https://github.com/ufal/clarin-sp-aaggregator)
hasn't been working for some time.  Digging into the details showed that
we broke the functionality with d6a64be5 while fixing #62.

Here, we fix the problem: connect to 127.0.0.1 via http on port 443.

Fixes #70
parent b95770d7
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ for ($i=$assertion_count; 0 < $i; --$i)
if(!empty($assertion_link))
{
$assertion_link = str_replace("https://" . getenv("SERVER_NAME"), "https://127.0.0.1", $assertion_link);
$assertion_link = str_replace("https://" . getenv("SERVER_NAME"), "http://127.0.0.1:443", $assertion_link);
//TODO add a timeout
// need to ignore that certificate does not match 127.0.0.1
$arrContextOptions=array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment