<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/esup-phpcas/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/esup-phpcas/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 13 Jan 2007 22:47:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/esup-phpcas/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Absolute path validation for PGTStorageFile on Windows OS</title><link>https://sourceforge.net/p/esup-phpcas/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;the constructor of PGTStorageFile Class validates absolute path only for Unix/Linux OS. For this reason a usage of PGT storage to file on Windows runs to an error "an absolute path is needed for PGT storage to file".&lt;/p&gt;
&lt;p&gt;Can you please add a validation for Windows OS?&lt;/p&gt;
&lt;p&gt;e. g.:&lt;br /&gt;
[code]&lt;br /&gt;
if ( DIRECTORY_SEPARATOR == '/' ) {&lt;br /&gt;
// check for unix/linux absolute path&lt;br /&gt;
if ( $path[0] != '/' ) {&lt;br /&gt;
phpCAS::error('an absolute path is needed for PGT storage to file');&lt;br /&gt;
}&lt;br /&gt;
} else {&lt;br /&gt;
// check for windows absolute path&lt;br /&gt;
if (!preg_match("/^[a-z]{1}+:\//i", $path) and !preg_match("/^[a-z]{1}+:\\\/i", $path)) {&lt;br /&gt;
phpCAS::error('an absolute path is needed for PGT storage to file');&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
[/code]&lt;br /&gt;
instead of&lt;br /&gt;
[code]&lt;br /&gt;
if ( $path[0] != '/' ) {&lt;br /&gt;
phpCAS::error('an absolute path is needed for PGT storage to file');&lt;br /&gt;
}&lt;br /&gt;
[/code]&lt;/p&gt;
&lt;p&gt;I think, it isn't intended to run phpCAS on Windows, because of the requirement of CURL with SSL. But there allready exist a CURL binary for Win32. Therefore it should work, at least during development.&lt;/p&gt;
&lt;p&gt;greetings&lt;br /&gt;
murat&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">murat</dc:creator><pubDate>Sat, 13 Jan 2007 22:47:10 -0000</pubDate><guid>https://sourceforge.net69a008402ad7c4a254ed93fb244b7d9dc0dd6243</guid></item><item><title>encoding the url for service parameter</title><link>https://sourceforge.net/p/esup-phpcas/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We have pb when the requested service have extra&lt;br /&gt;
parameters (we have pb with Mantis and phpCAS)&lt;/p&gt;
&lt;p&gt;I have added new method to improve service request.&lt;/p&gt;
&lt;p&gt;You can use setEncodingUrl($bolEncode) to force phpCas&lt;br /&gt;
to encode URL before sent it to CAS server.&lt;/p&gt;
&lt;p&gt;exemple : &lt;/p&gt;
&lt;p&gt;phpCAS::client(CAS_VERSION_1_0,strHostServeurCAS,strPortServeurCAS,strUriServeurCAS);&lt;br /&gt;
phpCAS::setEncodingUrl(true)&lt;br /&gt;
phpCAS::forceAuthentication();&lt;/p&gt;
&lt;p&gt;when php CAS call CAS with "service=&amp;lt;url&amp;gt;", the &amp;lt;url&amp;gt;&lt;br /&gt;
will be "urlencoded" .&lt;/p&gt;
&lt;p&gt;Thomas Lecarpentier&lt;br /&gt;
thomas(AT)lecarpentier.name&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Lecarpentier</dc:creator><pubDate>Thu, 09 Nov 2006 10:05:52 -0000</pubDate><guid>https://sourceforge.net14db2ccc682876e741eb030d11ee10caaafc5c99</guid></item></channel></rss>