Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6543651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:22:20+00:00 2026-05-25T11:22:20+00:00

When trying to subscribe to a channel named public with Meteor i get the

  • 0

When trying to subscribe to a channel named “public” with Meteor i get
the desired response:

<script>ch("public",0)</script>

When the http request is:

GET /push/131530959548387383/xhrinteractive/public?nc=1315309595740 HTTP/1.1

But when i try to subscribe to a channel named in english and hebrew such as:
“tag-קוקאין” and the http request is:

GET /push/1315309516300999786/xhrinteractive/tag-%D7%A7%D7%95%D7%A7%D7%90%D7%99%D7%9F?nc=1315309516590 HTTP/1.1

I get an akward response – the name of the channel becomes dots:

<script>ch("tag-............", 0);</script>

So i was digging in Meteor files and came across Subscriber.pm file
which is responsible for figuring the header and connect the end user to the
right channel.

The part that checks the header using regex is:

    if($self->{'headerBuffer'}=~/GET\s+$::CONF{'SubscriberDynamicPageAddress'}\/([0-9a-z]+)\/([0-9a-z]+)\/([a-z0-9_\-\%\.\/]+).*?/i)
    {
        $self->{'subscriberID'}=$1;
        $self->{'mode'}=$2;
        my $persist=$self->getConf('Persist');
        my $maxTime=$self->getConf('MaxTime');
        $self->{'ConnectionTimeLimit'} = ($self->{'ConnectionStart'}+$maxTime) if ($maxTime>0);

        my @channelData=split('/',$3);
        my $channels={};
        my $channelName;
        my $offset;
        foreach my $chandef (@channelData) {
            if($chandef=~/^([a-z0-9_\-\%]+)(.(r|b|h)([0-9]*))?$/i) {
                $channelName = $1;
                $channels->{$channelName}->{'startIndex'} = undef;
                if ($3) {
                   $offset = $4;
                   if ($3 eq 'r') { $channels->{$channelName}->{'startIndex'} = $offset; }
                   if ($3 eq 'b') { $channels->{$channelName}->{'startIndex'} = -$offset; }
                   if ($3 eq 'h') { $channels->{$channelName}->{'startIndex'} = 0; }
                }
            }
        }

when “CONF{‘SubscriberDynamicPageAddress’}” is “push”;

There has to be a fix for this somewhere.. i tried searching everywhere with no avail.
I will be grateful if someone will point me to some direction.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:22:20+00:00Added an answer on May 25, 2026 at 11:22 am

    I have no idea of Meteor. Is it possible for you to change the part that checks the header?

    The problem is that the software allows only ascii letters a to z (case independent because of the i modifier at the end), which is completely out of date.

    The unicode approach would check for \p{L} instead of a-z

    \p{L} is a unicode code point with the property Letter in all languages.

    See here on regular-expressions.info

    But this does not explain the dots in the response, the non ascii letters must be replaced somewhere else.

    OK, I also thought a bit about this. I think the problem is not the regex. The problem is that the unicode character encoding in URI’s is not perfectly reliable (see wikipedia). It seems to me that Meteor at some point could not decode your hebrew characters and replaces them with dots.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the latest Smackx trunk to get and then subscribe to
I am trying to subscribe to youtube channel via api. As i am not
Getting 'Dispatcher has no subscribers' error while trying to post message to a channel
I am trying to implement a simple subscribe button using Paypal. I have used
I'm trying to create simple script that subscribes a user to a company calendar.
I'm trying to publish messages to RabbitMQ, from a Ruby script (using Bunny )
I'm trying to subscribe a client to an AWeber mailing list upon ordering a
I'm trying to run a Java application I wrote to subscribe to a CORBA
I have a WF service that I'm trying to setup receive activities to Subscribe
I am trying to style my subscription box on http://wpdallas.com/test/ like the one on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.